unit-Transform.cpp 291 B

123456789101112131415
  1. #include <catch2/catch.hpp>
  2. #include <gul/math/Transform.h>
  3. SCENARIO("test")
  4. {
  5. gul::Transform T;
  6. auto M = T.getMatrix();
  7. REQUIRE( M[0][0] == Approx(1.0f));
  8. REQUIRE( M[1][1] == Approx(1.0f));
  9. REQUIRE( M[2][2] == Approx(1.0f));
  10. REQUIRE( M[3][3] == Approx(1.0f));
  11. }