示例#1
0
 void ValueToARGB(uint value, byte alpha, byte red, byte green, byte blue)
 {
     Colorer.ValueToARGB(value, out var alphaOut, out var redOut, out var greenOut, out var blueOut);
     Assert.AreEqual(alpha, alphaOut);
     Assert.AreEqual(red, redOut);
     Assert.AreEqual(green, greenOut);
     Assert.AreEqual(blue, blueOut);
 }