Skip to content

Latest commit

 

History

History
89 lines (83 loc) · 2.92 KB

File metadata and controls

89 lines (83 loc) · 2.92 KB

Math3D

Little library for my future game engine, implementing useful math functions and structures like matrix/vector using SSE intrinsics.

[==========] Running 32 tests from 4 test cases.  
[----------] Global test environment set-up.  
[----------] 10 tests from Vector4Test  
[ RUN      ] Vector4Test.Creation  
[       OK ] Vector4Test.Creation (0 ms)  
[ RUN      ] Vector4Test.SumByFloat  
[       OK ] Vector4Test.SumByFloat (0 ms)
[ RUN      ] Vector4Test.SubByFloat
[       OK ] Vector4Test.SubByFloat (0 ms)
[ RUN      ] Vector4Test.MulByFloat
[       OK ] Vector4Test.MulByFloat (0 ms)
[ RUN      ] Vector4Test.DivByFloat
[       OK ] Vector4Test.DivByFloat (0 ms)
[ RUN      ] Vector4Test.Sum
[       OK ] Vector4Test.Sum (0 ms)
[ RUN      ] Vector4Test.Sub
[       OK ] Vector4Test.Sub (0 ms)
[ RUN      ] Vector4Test.Mul
[       OK ] Vector4Test.Mul (0 ms)
[ RUN      ] Vector4Test.Div
[       OK ] Vector4Test.Div (0 ms)
[ RUN      ] Vector4Test.Magnitude
[       OK ] Vector4Test.Magnitude (0 ms)
[----------] 10 tests from Vector4Test (0 ms total)

[----------] 10 tests from Vector3Test
[ RUN      ] Vector3Test.Creation
[       OK ] Vector3Test.Creation (0 ms)
[ RUN      ] Vector3Test.SumByFloat
[       OK ] Vector3Test.SumByFloat (0 ms)
[ RUN      ] Vector3Test.SubByFloat
[       OK ] Vector3Test.SubByFloat (0 ms)
[ RUN      ] Vector3Test.MulByFloat
[       OK ] Vector3Test.MulByFloat (0 ms)
[ RUN      ] Vector3Test.DivByFloat
[       OK ] Vector3Test.DivByFloat (0 ms)
[ RUN      ] Vector3Test.Sum
[       OK ] Vector3Test.Sum (0 ms)
[ RUN      ] Vector3Test.Sub
[       OK ] Vector3Test.Sub (0 ms)
[ RUN      ] Vector3Test.Mul
[       OK ] Vector3Test.Mul (0 ms)
[ RUN      ] Vector3Test.Div
[       OK ] Vector3Test.Div (0 ms)
[ RUN      ] Vector3Test.Magnitude
[       OK ] Vector3Test.Magnitude (0 ms)
[----------] 10 tests from Vector3Test (2 ms total)

[----------] 10 tests from Matrix
[ RUN      ] Matrix.Creation
[       OK ] Matrix.Creation (0 ms)
[ RUN      ] Matrix.SumByFloat
[       OK ] Matrix.SumByFloat (0 ms)
[ RUN      ] Matrix.SubByFloat
[       OK ] Matrix.SubByFloat (0 ms)
[ RUN      ] Matrix.MulByFloat
[       OK ] Matrix.MulByFloat (0 ms)
[ RUN      ] Matrix.DivByFloat
[       OK ] Matrix.DivByFloat (0 ms)
[ RUN      ] Matrix.Sum
[       OK ] Matrix.Sum (0 ms)
[ RUN      ] Matrix.Sub
[       OK ] Matrix.Sub (0 ms)
[ RUN      ] Matrix.Mul
[       OK ] Matrix.Mul (0 ms)
[ RUN      ] Matrix.Identity
[       OK ] Matrix.Identity (0 ms)
[ RUN      ] Matrix.MulByVector
[       OK ] Matrix.MulByVector (0 ms)
[----------] 10 tests from Matrix (59 ms total)

[----------] 2 tests from Quaternion
[ RUN      ] Quaternion.Creation
[       OK ] Quaternion.Creation (0 ms)
[ RUN      ] Quaternion.ToMatrix
[       OK ] Quaternion.ToMatrix (0 ms)
[----------] 2 tests from Quaternion (0 ms total)

[----------] Global test environment tear-down
[==========] 32 tests from 4 test cases ran. (61 ms total)
[  PASSED  ] 32 tests.