Пример #1
0
 public void StoreBag_In_MostEmpty_Cabinet()
 {
     var smartRobot = new SmartRobot(new List<Cabinet> { new Cabinet(2), new Cabinet(2), new Cabinet(2) });
     var bag = new Bag();
     smartRobot.Store(new Bag());
     smartRobot.Store(new Bag());
     Assert.AreEqual(1, smartRobot.GetCabinet(0).RemainingEmptyBoxCount);
     Assert.AreEqual(1, smartRobot.GetCabinet(1).RemainingEmptyBoxCount);
 }