Exemplo n.º 1
0
 public void TestHandleRectangleButtonClicked()
 {
     _buttonEnabledStatesManager.HandleRectangleButtonClicked();
     Assert.IsFalse(_buttonEnabledStatesManager.RectangleButtonEnabled);
     Assert.IsTrue(_buttonEnabledStatesManager.LineButtonEnabled);
     Assert.IsTrue(_buttonEnabledStatesManager.ClearButtonEnabled);
 }
 /// <summary>
 /// Handles the rectangle button clicked.
 /// </summary>
 public void HandleRectangleButtonClicked()
 {
     _buttonEnabledStatesManager.HandleRectangleButtonClicked();
 }