Beispiel #1
0
 def test_rot90(self):
     self.assertQuantityEqual(np.rot90(self.q),
                              np.array([[2, 4], [1, 3]]) * self.ureg.m)
Beispiel #2
0
 def test_rot90(self):
     helpers.assert_quantity_equal(
         np.rot90(self.q), np.array([[2, 4], [1, 3]]) * self.ureg.m
     )