Beispiel #1
0
 def test_all_barber_rules(self):
     parsed_rules = adapt_file("resources/barber_1_rules.jarl", False)
     for i in range(len(parsed_rules)):
         self.assertEqual(self.all_rules[i], parsed_rules[i])
Beispiel #2
0
 def test_all_philos_rules(self):
     parsed_rules = adapt_file("resources/concuspring_1_rules.jarl", False)
     for i in range(len(parsed_rules)):
         self.assertEqual(self.all_rules[i], parsed_rules[i])