public void ToD3DColor4_Test() { var actual = new Color(0.1f, 0.22f, 0.333f, 0.4444f); var expected = new SlimDX.Color4(actual.a, actual.r, actual.g, actual.b); Assert.AreEqual(expected, actual.ToD3DColor4()); }