def test_ptp_numpy_func(self): self.assertQuantityEqual(np.ptp(self.q, axis=0), [2, 2] * self.ureg.m)
def test_ptp_numpy_func(self): helpers.assert_quantity_equal(np.ptp(self.q, axis=0), [2, 2] * self.ureg.m)