public void ShouldReturnFirstStair() { Staircase staircase = new Staircase(6); staircase.GetNextStair().Should().Be(" #"); }
public void ShouldReturnSecondStair() { Staircase staircase = new Staircase(6); staircase.GetNextStair(); staircase.GetNextStair().Should().Be(" ##"); }
public void ShouldDoWholeThing() { int stairCount = 6; Staircase staircase = new Staircase(6); for (int i = 0; i < stairCount; i++) { Console.WriteLine(staircase.GetNextStair()); } }