def test_var_numpy_func(self): self.assertEqual(np.var(self.q), 1.25 * self.ureg.m**2)
def test_var_numpy_func(self): assert np.var(self.q) == 1.25 * self.ureg.m ** 2