summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-06-24 18:58:00 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-21 16:40:31 +0200
commit0330717ab2880367a40c612f7396d517fb2b369a (patch)
tree85a53262159492589ae8c7d345a1a2cc17ca4a8a
parentbb926e2dc72740a5c6eac9954be91f1d12bc492a (diff)
eina: add tests for eina_matrix4_inverse.
-rw-r--r--src/tests/eina/eina_test_matrix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/eina/eina_test_matrix.c b/src/tests/eina/eina_test_matrix.c
index 6808aadf0e..fcee52fe34 100644
--- a/src/tests/eina/eina_test_matrix.c
+++ b/src/tests/eina/eina_test_matrix.c
@@ -47,6 +47,9 @@ START_TEST(eina_matrix4)
47 fail_if(!eina_matrix4_normalized(&n, &m)); 47 fail_if(!eina_matrix4_normalized(&n, &m));
48 fail_if(eina_matrix4_type_get(&n) != EINA_MATRIX_TYPE_IDENTITY); 48 fail_if(eina_matrix4_type_get(&n) != EINA_MATRIX_TYPE_IDENTITY);
49 49
50 fail_if(!eina_matrix4_inverse(&n, &m));
51 fail_if(eina_matrix4_type_get(&n) != EINA_MATRIX_TYPE_IDENTITY);
52
50 eina_matrix4_values_get(&m, 53 eina_matrix4_values_get(&m,
51 &xx, &xy, &xz, &xw, 54 &xx, &xy, &xz, &xw,
52 &yx, &yy, &yz, &yw, 55 &yx, &yy, &yz, &yw,