diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-04-05 18:03:59 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-04-06 17:47:01 +0300 |
commit | b6775cd6849d6f9cc3355ed2be7fa9d6cfe64a25 (patch) | |
tree | 8ea83f7d56f023016284069618ce174925e5545d /tests/gtests/alembic/abc_matrix_test.cc | |
parent | c2fec0f1b007920935aaf11ee6969fe6d0cfa528 (diff) |
Added float[][] comparison macros to testing.h
I've moved EXPECT_M3_NEAR from abc_matrix_test.cc to testing.h, as that's
a more suitable location.
Diffstat (limited to 'tests/gtests/alembic/abc_matrix_test.cc')
-rw-r--r-- | tests/gtests/alembic/abc_matrix_test.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/gtests/alembic/abc_matrix_test.cc b/tests/gtests/alembic/abc_matrix_test.cc index bbdcd467de9..c9a79a73f60 100644 --- a/tests/gtests/alembic/abc_matrix_test.cc +++ b/tests/gtests/alembic/abc_matrix_test.cc @@ -9,12 +9,6 @@ extern "C" { } -#define EXPECT_M3_NEAR(a, b, eps) {\ - EXPECT_V3_NEAR(a[0], b[0], eps); \ - EXPECT_V3_NEAR(a[1], b[1], eps); \ - EXPECT_V3_NEAR(a[2], b[2], eps); \ -} - TEST(abc_matrix, CreateRotationMatrixY_YfromZ) { // Input variables float rot_x_mat[3][3]; |