Commit fe59943f authored by Pauline LEYRIT's avatar Pauline LEYRIT
Browse files

ok

parent d5455caa
This diff is collapsed.
This diff is collapsed.
#auteur: Théo
from numpy.random import randint from numpy.random import randint
from numpy.random import choice from numpy.random import choice
from abc import ABCMeta, abstractmethod from abc import ABCMeta, abstractmethod
......
#auteur : Théo
from abc import ABCMeta, abstractmethod from abc import ABCMeta, abstractmethod
......
#auteur : Théo
from pieces import Piece, Montagne, Animal, Elephant, Rhinoceros from pieces import Piece, Montagne, Animal, Elephant, Rhinoceros
from joueur import Joueur, Theo, Pauline,IA from joueur import Joueur, Theo, Pauline,IA
......
#auteur: Théo
import unittest import unittest
import table_de_jeu as t import table_de_jeu as t
import pieces as p import pieces as p
...@@ -95,12 +97,6 @@ class TestAnimal(unittest.TestCase): ...@@ -95,12 +97,6 @@ class TestAnimal(unittest.TestCase):
self.assertEqual(elephant2.coords, [4,2]) 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__': if __name__ == '__main__':
unittest.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