mark-poscablo · GitHub

@mark-poscablo

@mark-poscablo

Mark Poscablo added 3 commits

July 30, 2018 17:11

Mark Poscablo

- 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

Mark Poscablo

Mark Poscablo

- 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

@mark-poscablo

umar456

Mark Poscablo

- Changed ASSERT_EQ(AF_SUCCESS, ...) to ASSERT_SUCCESS(...)
- Changed ASSERT_TRUE(allTrue<bool>...) to ASSERT_ARRAY_EQ() in tests

@mark-poscablo

@umar456 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

Jul 31, 2018

@9prady9

@mark-poscablo

This was referenced

Aug 2, 2018

Merged

Merged

Read the original on github.com ↗