public void TestVisitThreeTimes() { doors = new OneHundredDoors(); doors.Visit(3); actual = doors.GetDoorStatus(); Assert.IsFalse(actual); }
public void TestVisit50thDoorWith100Times() { doors = new OneHundredDoors(); doors.Visit(100); actual = doors.GetDoorStatus(50); Assert.IsFalse(actual); }
public void TestVisitOneTime() { doors = new OneHundredDoors(); doors.Visit(); actual = doors.GetDoorStatus(); Assert.IsTrue(actual); }
public void Test1000Doors() { doors = new OneHundredDoors(1000); doors.Visit(1000); actual = doors.GetDoorStatus(1000); Assert.IsFalse(actual); }