public void GameTie() { Game o = new Game("compact", null); Assert.NotNull(o); Assert.False(o.BlackTie); Assert.False(o.WhiteTie); Assert.Equal(Ret.Tying, o.Tie("Black")); Assert.True(o.BlackTie); Assert.False(o.WhiteTie); o.Untie(); Assert.False(o.BlackTie); Assert.False(o.WhiteTie); Assert.Equal(Ret.Tying, o.Tie("White")); Assert.False(o.BlackTie); Assert.True(o.WhiteTie); Assert.Equal(Ret.Tie, o.Tie("Black")); Assert.True(o.BlackTie); Assert.True(o.WhiteTie); o.Reset(); Assert.False(o.BlackTie); Assert.False(o.WhiteTie); }