Exemplo n.º 1
0
        public void ToggleSquareMethod_Toggles_SquareIsChecked()
        {
            bool oldState = (bool)target.Squares[0].IsChecked;

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