private static LampRow GenerateLine(int timeUnit, LampRow lampRow, IRowRule rowRule) { for (var index = 0; index < lampRow.Lamps.Length; index++) { lampRow.Lamps[index] = rowRule.Rule(timeUnit, index); } return(lampRow); }
public BottomHoursRuleTests() { _itemUnderTest = new BottomHoursRowRule(); }
public TopSecondsRowRuleTestsTests() { _itemUnderTest = new TopSecondsRowRowRule(); }