예제 #1
0
        public void CornerTest()
        {
            var corners = Patterns.CombinedSymmetries("a1".ToBitBoard());

            var positions = corners.ToAlgebraicNotationList();

            corners.Draw();
            Assert.IsTrue(positions.Contains("a1"));
            Assert.IsTrue(positions.Contains("h1"));
            Assert.IsTrue(positions.Contains("a8"));
            Assert.IsTrue(positions.Contains("h8"));
        }