public void TestOutput() { var clock = new Kata2019.BerlinClockSession2.Clock("16:51:00"); string expectedOutput = "Y" + Environment.NewLine + "RRRO" + Environment.NewLine + "ROOO" + Environment.NewLine + "YYYYYYYYYYO" + Environment.NewLine + "YOOO"; Assert.Equal(expectedOutput, clock.Output()); }
public void TestBottomRow() { var clock = new Kata2019.BerlinClockSession2.Clock("12:51:10"); Assert.Equal("YOOO", clock.BottomRow); }
public void TestSecondRow() { var clock = new Kata2019.BerlinClockSession2.Clock("12:51:10"); Assert.Equal("RROO", clock.SecondRow); }
public void TestThirdRow() { var clock = new Kata2019.BerlinClockSession2.Clock("12:51:10"); Assert.Equal("YYYYYYYYYYO", clock.ThirdRow); }
public void TestRoundYellowLightOff() { var clock = new Kata2019.BerlinClockSession2.Clock("12:51:10"); Assert.Equal("Y", clock.TopYellowLight); }