public void CycleTime_for_one_job_five_iterations_is_processing_time() { var jobs = new List <Job> { new Job { processingTime = 3 } }; var sched = new CyclicSchedule(jobs); sched.Process(5); Assert.Equal(3m, sched.CycleTime(0)); }
public void CycleTime_for_one_job_is_processingTime() { var jobs = new List <Job> { new Job { processingTime = 3 } }; var sched = new CyclicSchedule(jobs); sched.Process(2); Assert.Equal(3, sched.CycleTime(0)); }
public void CycleTime_for_one_job_is_processingTime() { var jobs = new List<Job> { new Job{ processingTime = 3 } }; var sched = new CyclicSchedule(jobs); sched.Process(2); Assert.Equal(3, sched.CycleTime(0)); }
public void CycleTime_for_one_job_five_iterations_is_processing_time() { var jobs = new List<Job> { new Job { processingTime = 3 } }; var sched = new CyclicSchedule(jobs); sched.Process(5); Assert.Equal(3m, sched.CycleTime(0)); }