public void should_return_false_given_hasnot_empty_box() { var robot = new Robot(); var cabinet = new Cabinet(0); robot.Add(cabinet); Assert.IsFalse(robot.HasEmptyBox()); }
public void should_return_true_given_has_empty_box() { var robot = new Robot(); var cabinet = new Cabinet(50); robot.Add(cabinet); Assert.IsTrue(robot.HasEmptyBox()); }
public void test_should_robot_save_bag_when_has_empty_box() { var rb = new Robot(); rb.Add(new Cabinet()); rb.Add(new Cabinet()); Assert.IsTrue(rb.HasEmptyBox()); var t1 = rb.Store(new Bag()); Assert.IsNotNull(t1); }
public void test_should_robot_return_empty_box_when_has_empty_box() { var rb = new Robot(); rb.Add(new Cabinet()); rb.Add(new Cabinet()); Assert.IsTrue(rb.HasEmptyBox()); }
public void should_return_true_given_robot_with_empty_cabinet_when_check_availability() { var robot = new Robot(); robot.Add(new Cabinet(50)); Assert.IsTrue(robot.HasEmptyBox()); }
public void should_return_false_given_null_cabinet_when_check_availability() { var robot = new Robot(); Assert.IsFalse( robot.HasEmptyBox()); }