Exemplo n.º 1
0
 def test_格子点x_yの値は更新不可である(self):
     grid_point = GridPoint(0, 0)
     with pytest.raises(AttributeError):
         grid_point.x = 1
     with pytest.raises(AttributeError):
         grid_point.y = 1