MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / assertArrayNear

Function assertArrayNear

test/arrayfire_test.cpp:792–799  ·  view source on GitHub ↗

Called by ASSERT_ARRAYS_NEAR

Source from the content-addressed store, hash-verified

790
791// Called by ASSERT_ARRAYS_NEAR
792::testing::AssertionResult assertArrayNear(std::string aName, std::string bName,
793 std::string maxAbsDiffName,
794 const af::array &a,
795 const af::array &b,
796 float maxAbsDiff) {
797 UNUSED(maxAbsDiffName);
798 return assertArrayEq(aName, bName, a, b, maxAbsDiff);
799}
800
801// Called by ASSERT_IMAGES_NEAR
802::testing::AssertionResult assertImageNear(std::string aName, std::string bName,

Callers 1

TESTFunction · 0.85

Calls 2

assertArrayEqFunction · 0.85
af_retain_arrayFunction · 0.50

Tested by

no test coverage detected