public void ClearAllGroupsTest() { Controller.AddUnitToGroup(Controller.AllLights[0], 0); Controller.AddUnitToGroup(Controller.AllLights[1], 1); Controller.ClearAllGroups(); Assert.IsEmpty(Controller._groups[0].GroupOfLights); Assert.IsEmpty(Controller._groups[1].GroupOfLights); }
//clear ALL groups including the broadcast group(16) private void ClearAllGroups(object sender, EventArgs e) { DALIController.ClearAllGroups(); SetUpFirstButtons(); }