41 lines
854 B
Python
41 lines
854 B
Python
from unittest import TestCase
|
|
|
|
|
|
class TestShipField(TestCase):
|
|
def test_action(self):
|
|
self.fail()
|
|
|
|
def test_target(self):
|
|
self.fail()
|
|
|
|
def test_clear_marker(self):
|
|
self.fail()
|
|
|
|
def test_set_ship(self):
|
|
self.fail()
|
|
|
|
def test_shoot(self):
|
|
ship_field = ShipField()
|
|
ship_field.field
|
|
self.fail()
|
|
|
|
def test_check_possible(self):
|
|
self.fail()
|
|
|
|
def test_check_blocked(self):
|
|
self.fail()
|
|
|
|
def test_set_ship_size(self):
|
|
self.fail()
|
|
|
|
def test_set_ship_direction(self):
|
|
ship_field = ShipField()
|
|
ship_field.set_ship_direction(1)
|
|
self.assertEqual(ship_field.ship_direction)
|
|
|
|
ship_field.set_ship_direction()
|
|
self.assertEqual(ship_field.ship_direction, 0)
|
|
|
|
def test_toggle_field_mode(self):
|
|
self.fail()
|