コード例 #1
0
ファイル: tests.py プロジェクト: amoffat/python-cgla
 def test_coordinate_system_2d(self):
     v = Vec(1, 0)
     mat = v.coordinate_system()
     
     correct = Mat(
         [1, 0],
         [0, 1],
     )
     self.assertEqual(mat, correct)