Mark Poscablo added 3 commits
July 30, 2018 17:11
- Create the ASSERT_ARRAY_EQ macro to compare two af::array or af_array - Tests types, dims, and values. - Prints the index of the values that are different. - Prints a more readable error message
- Added type comparison in array-vector assert compare. - Changed array and vector names for more clarity. - Changed C API assert to not free C af_array after assert
- Changed ASSERT_EQ(AF_SUCCESS, ...) to ASSERT_SUCCESS(...) - Changed ASSERT_TRUE(allTrue<bool>...) to ASSERT_ARRAY_EQ() in tests
umar456
changed the title
Add test utility functions for simplifying comparison of reference and output af::arrays
Add test utility functions to compare af::arrays