예제 #1
0
 public void DoesNotThrowWhenRemovingWorstChromosomsWithInvalidValue()
 {
     WeekPlanHelper.RemoveWorstChromosoms(new List <List <WeekPlanHelper.TaskHelper> >()
     {
         new List <WeekPlanHelper.TaskHelper>
         {
             new WeekPlanHelper.TaskHelper(new Task()), new WeekPlanHelper.TaskHelper(new Task())
         }
     }, 2.0);
 }
예제 #2
0
 public void DoesNotThrowWhenRemovingWorstChromosomsOnEmptyList()
 {
     WeekPlanHelper.RemoveWorstChromosoms(new List <List <WeekPlanHelper.TaskHelper> >(), 0.5);
 }