def test_coordinate_system_2d(self): v = Vec(1, 0) mat = v.coordinate_system() correct = Mat( [1, 0], [0, 1], ) self.assertEqual(mat, correct)