Testing utilities (xpx.testing)ΒΆ

These testing utilities are intended to help transition from using numpy.testing.

assert_close

Check that two arrays are close, up to tolerance atol + rtol * abs(desired).

assert_equal

Check that two arrays are equal.

assert_less

Check that two arrays are ordered by less than.

See also utilities specific to testing lazy backends in Tools for lazy backends.