diff --git a/test/ReaderTest.cs b/test/ReaderTest.cs index a2930d8..86c3faf 100644 --- a/test/ReaderTest.cs +++ b/test/ReaderTest.cs @@ -8,6 +8,8 @@ public class ReaderTest private const float FLOAT_X = 1024 * 2; private const float FLOAT_Y = 1024 * 4; private const float FLOAT_Z = 1024 * 6; + private const float FLOAT_W = 1024 * 8; + public ReaderTest() { } [Fact] @@ -277,4 +279,15 @@ public void ImplFloat3() Assert.Equal(FLOAT_Y, result.Y); Assert.Equal(FLOAT_Z, result.Z); } + + [Fact] + public void ImplFloat4() + { + var result = new Float4(FLOAT_X, FLOAT_Y, FLOAT_Z, FLOAT_W); + + Assert.Equal(FLOAT_X, result.X); + Assert.Equal(FLOAT_Y, result.Y); + Assert.Equal(FLOAT_Z, result.Z); + Assert.Equal(FLOAT_W, result.W); + } }