private void initializeRow(Color aColor, int aMaxCount, int aStep) { var row = new LightRow(); row.CreateRow(aColor, aMaxCount, aStep); rows.Add(row); }
public void TestLightRowRemainder() { var row = new LightRow(); row.CreateRow(Color.Yellow, 24, 5); int remainder; row.SetLights(17, out remainder); var str = row.GetRowOfLightsString(); Assert.AreEqual(remainder, 2); }