def test_job_scheduling(self): job1, job2 = Job(1, 3, 2), Job(2, 3, 4) self.assertEqual(4, schedule([job1, job2]))
from algorithms.dp import schedule, Job # star,finish,profit job = [Job(1, 2, 50), Job(3, 5, 20), Job(6, 19, 100), Job(2, 100, 200)] print(schedule(job)) # 박제준 6/18