Esempio n. 1
0
            public void Given__r__should_get__null()
            {
                var result = PieceType.GetFor('r');

                result.ShouldBeNull();
            }
Esempio n. 2
0
            public void Given__R__should_get__PieceType_Rook()
            {
                var result = PieceType.GetFor('R');

                result.ShouldBeEqualTo(PieceType.Rook);
            }
Esempio n. 3
0
            public void Given__Q__should_get__PieceType_Queen()
            {
                var result = PieceType.GetFor('Q');

                result.ShouldBeEqualTo(PieceType.Queen);
            }
Esempio n. 4
0
            public void Given__N__should_get__PieceType_Knight()
            {
                var result = PieceType.GetFor('N');

                result.ShouldBeEqualTo(PieceType.Knight);
            }
Esempio n. 5
0
            public void Given__K__should_get__PieceType_King()
            {
                var result = PieceType.GetFor('K');

                result.ShouldBeEqualTo(PieceType.King);
            }
Esempio n. 6
0
            public void Given__B__should_get__PieceType_Bishop()
            {
                var result = PieceType.GetFor('B');

                result.ShouldBeEqualTo(PieceType.Bishop);
            }