Beispiel #1
0
 def test_hit(self):
     b = Board()
     b.place_ship('cruser', 'hor', 1, 'a')
     self.assertTrue(b.hit(1,'a'))
 def test_hit(self):
     b = Board()
     b.place_ship("cruser", "hor", 1, "a")
     self.assertTrue(b.hit(1, "a"))