public void Boarder_tests() { var boarder = new Boarder(new[] { true, false, true, false, true, false, true, false, true, false }); Assert.Equal("#.#.#.#.#.", boarder.ToString()); Assert.Equal(".#.#.#.#.#", boarder.Flip().ToString()); Assert.True(boarder.MatchesInADirection(boarder)); Assert.True(boarder.MatchesInADirection(boarder.Flip())); Assert.True(boarder.Equals(boarder)); Assert.True(boarder.Equals(boarder.Flip().Flip())); }