Beispiel #1
0
 def test_flip_numpy_func(self):
     self.assertQuantityEqual(np.flip(self.q, axis=0),
                              [[3, 4], [1, 2]] * self.ureg.m)
Beispiel #2
0
 def test_flip_numpy_func(self):
     helpers.assert_quantity_equal(
         np.flip(self.q, axis=0), [[3, 4], [1, 2]] * self.ureg.m
     )