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