public void should_return_true_given_has_empty_box()
 {
     var smartRobot = new SmartRobot();
     smartRobot.Add(new Cabinet(50));
     Assert.IsTrue(smartRobot.HasEmptyBox());
 }
Exemplo n.º 2
0
        public void test_smartrobot_should_has_empty_box()
        {
            var srb = new SmartRobot();
            srb.Add(new Cabinet());

            Assert.IsTrue(srb.HasEmptyBox());
        }
 public void should_return_false_given_hasnot_empty_box()
 {
     var smartRobot = new SmartRobot();
     smartRobot.Add(new Cabinet(0));
     Assert.IsFalse(smartRobot.HasEmptyBox());
 }