//clears the entire group for all units //then resets to main menu private void ClearGroup(object sender, EventArgs e) { DALIController.ClearGroup(_currentGroup); SetUpFirstButtons(); }
public void ClearGroupTest() { Controller.AddUnitToGroup(Controller.AllLights[0], 0); Controller.ClearGroup(0); Assert.IsEmpty(Controller._groups[0].GroupOfLights); }