Exemple #1
0
 public void FromColor_ToD3DVector4_Test()
 {
     var actual = new Color(0.1f, 0.22f, 0.333f, 0.4444f);
     var expected = new SlimDX.Vector4(actual.r, actual.g, actual.b, actual.a);
     Assert.AreEqual(expected, actual.ToD3DVector4());
 }