public void SecondRow_EachLampIs1Minute(string expected, int minutes) { Assert.AreEqual(expected, BerlinClockTimeConverter.MinutesRows(minutes).Last(), $"converting {minutes} minutes"); }
public void FirstRow_EveryQuarter_IsRedLamp(string expected, int minutes) { Assert.AreEqual(expected, BerlinClockTimeConverter.MinutesRows(minutes)[0], $"converting {minutes} minutes"); }
public void FirstRowHas11Lamps() { Assert.AreEqual(11, BerlinClockTimeConverter.MinutesRows(0).First().Length); }
public void SecondRowHas4Lamps() { Assert.AreEqual(4, BerlinClockTimeConverter.MinutesRows(0).Last().Length); }
public void GeneratesTwoRowsOfLamp() { Assert.AreEqual(2, BerlinClockTimeConverter.MinutesRows(0).Length); }