public void GetBaseClock_whenAllLettersMustBeOn_ReturnLettersWithPadding() { var formatter = new ClockFormatter(); string x = formatter.GetBaseClock(2, 'a', 4); Assert.Equal(x, "aaOO"); }
public void GetBaseClock_IfTooManyLightsToSwitchOn_ThrowsException() { var formatter = new ClockFormatter(); Assert.Throws <ArgumentException>(() => formatter.GetBaseClock(999, 'a', 10)); }