assert_close#
- lsst.images.tests.assert_close(tc: TestCase, a: ndarray | Quantity | float, b: ndarray | Quantity | float, **kwargs: Any) None#
Test that two arrays, floats, or quantities are almost equal.
Parameters#
- tc
Test case object with assert methods to use.
- a
Array, float, or quantity to compare.
- b
Array, float, or quantity to compare.
- **kwargs
Forwarded to
astropy.units.allclose.