forked from enlightenment/efl
tests: eina: make sure we always check on eina_matrixsparse_data_idx_get return
It has been checked in all other places, but has been forgotten in these two. CID: 1401081 Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11960
This commit is contained in:
parent
e9e8368823
commit
09d89a059c
|
@ -145,9 +145,11 @@ EFL_START_TEST(eina_test_simple)
|
|||
fail_if(row != 3 || col != 5);
|
||||
|
||||
test1 = eina_matrixsparse_data_idx_get(matrix, 4, 3);
|
||||
fail_if(test1 == NULL);
|
||||
fail_if(*test1 != data[4][3]);
|
||||
|
||||
test1 = eina_matrixsparse_data_idx_get(matrix, 1, 3);
|
||||
fail_if(test1 == NULL);
|
||||
fail_if(*test1 != data[1][3]);
|
||||
|
||||
/* data changing */
|
||||
|
|
Loading…
Reference in New Issue