numir.testing

Various testing utility on the ndslice (e.g., approxEqual, assertShapeEqual)

Members

Functions

approxEqual
bool approxEqual(L lhs, R rhs, V maxRelDiff, V maxAbsDiff)

testing function for float-point slices

assertShapeEqual
void assertShapeEqual(L lhs, R rhs)

testing function for shape equality

Meta