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

Function compare

test/resize.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84template<typename T>
85void compare(T test, T out, double err, size_t i) {
86 ASSERT_EQ(abs(test - out) < err, true) << "at: " << i << endl
87 << "for test = : " << test << endl
88 << "out data = : " << out << endl;
89}
90
91template<>
92void compare<uintl>(uintl test, uintl out, double err, size_t i) {

Callers

nothing calls this directly

Calls 1

absFunction · 0.70

Tested by

no test coverage detected