예제 #1
0
 def test_rot90(self):
     self.assertQuantityEqual(np.rot90(self.q),
                              np.array([[2, 4], [1, 3]]) * self.ureg.m)
예제 #2
0
파일: test_numpy.py 프로젝트: wiki01/pint
 def test_rot90(self):
     helpers.assert_quantity_equal(
         np.rot90(self.q), np.array([[2, 4], [1, 3]]) * self.ureg.m
     )