Exemple #1
0
 def test_tree_hungry(self):
     lionState = Lion('hungry')
     self.assertEqual('Lion sleep', lionState.tree(), 'state error')
 def test_tree_hungry(self):
     lionState = Lion ('hungry')
     self.assertEqual('Lion sleep', lionState.tree(), 'state error')
Exemple #3
0
 def test_tree_full(self):
     lionState = Lion('full')
     self.assertEqual('Lion see on tree', lionState.tree(), 'state error')
 def test_tree_full(self):
     lionState = Lion ('full')
     self.assertEqual('Lion see on tree', lionState.tree(), 'state error')