def test_h8a1(self): move = 'h8a1' code = utility.uci_to_int(move) uci = utility.int_to_uci(code) self.assertEqual(uci, 'h8a1')
def test_g1d3(self): move = 'g1d3' code = utility.uci_to_int(move) uci = utility.int_to_uci(code) self.assertEqual(uci, 'g1d3')
def test_a1h8(self): move = 'a1h8' code = utility.uci_to_int(move) uci = utility.int_to_uci(code) self.assertEqual(uci, 'a1h8')
def test_e2e4(self): move = 'e2e4' code = utility.uci_to_int(move) uci = utility.int_to_uci(code) self.assertEqual(uci, 'e2e4')