Example #1
0
 def test_set_2(self):
     self.assertEqual(alg.prob1_scheduler(alg.prob1_prioritydict(jobs_test_2)), 61545)
     self.assertEqual(alg.prob2_scheduler(alg.prob2_prioritydict(jobs_test_2)), 60213)
Example #2
0
 def test_set_3(self):
     self.assertEqual(alg.prob1_scheduler(alg.prob1_prioritydict(jobs_test_3)), 688647)
     self.assertEqual(alg.prob2_scheduler(alg.prob2_prioritydict(jobs_test_3)), 674634)
Example #3
0
 def test_set_1(self):
     self.assertEqual(alg.prob1_scheduler(alg.prob1_prioritydict(jobs_test_1)), 31814)
     self.assertEqual(alg.prob2_scheduler(alg.prob2_prioritydict(jobs_test_1)), 31814)