public void ShouldIterateDoors2Times() { //assign DoorMan doorMan = new DoorMan(); //act doorMan.WalkDoors(2); //assert doorMan.OpenDoorCount().Should().Be(50); }
public void ShouldIterateDoors1Time() { //assign DoorMan doorMan = new DoorMan(); //act doorMan.WalkDoors(1); //assert doorMan.OpenDoorCount().Should().Be(100); }