Commit 0b00a076 authored by Théo BOUTEMY's avatar Théo BOUTEMY
Browse files

tout fini!!!!!

parent fbdcf99e
......@@ -67,8 +67,8 @@ class TestAnimal(unittest.TestCase):
elephant1.pousser()
elephant2.pousser()
self.assertEqual(elephant2.coords, (3, 2))
self.assertEqual(elephant1.coords, (4, 2))
self.assertEqual(elephant2.coords, [3, 2])
self.assertEqual(elephant1.coords, [4, 2])
def test_changement_orientation(self):
plateau = t.Plateau(xmax=5, ymax=5, nb_montagne=3, joueur1=Theo, joueur2=Pauline)
......@@ -95,12 +95,6 @@ class TestAnimal(unittest.TestCase):
self.assertEqual(elephant2.coords, [4,2])
# def test_initialiserPlateau(self):
# for k in range(1, 4):
# self.assertEqual(table_jeu1.initialiserPlateau().table_jeu[2, k].car(),
# 'R') # test: initialiserPlateau place bien les rochers au centre de la table
# self.assertEqual(jeu.orientation(0, 1, 'O'), None) # la case est vide
if __name__ == '__main__':
unittest.main()
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment