public void ToggleSquareMethod_Toggles_SquareIsChecked() { bool oldState = (bool)target.Squares[0].IsChecked; target.ToggleSquare(0); Assert.AreEqual <bool?>(!oldState, target.Squares[0].IsChecked); }
public void ToggleSquareMethod_Toggles_SquareIsChecked() { bool oldState = (bool)target.Squares[0].IsChecked; target.ToggleSquare(0); Assert.AreEqual <bool?>(!oldState, target.Squares[0].IsChecked); }