Example #1
0
 public void MergeNewGeneration()
 {
     SortedMeals.UnionWith(Children);
     if (SortedMeals.Count != Count)
     {
         throw new Exception();
     }
     Children = new OrderedBag <IMeal>();
 }