示例#1
0
        public void Returns_Empty_List_When_Get_From_Builds_Coordinates_From_Unknown_Quandrant(int quadrant)
        {
            var movement = new QuandrantMovement(2);

            var moves = movement.GetCoordinates(new BoardCoordinate(5, 5));

            Assert.Empty(moves);
        }
示例#2
0
        public void Get_From_Builds_Coordinates_From_Quandrant(IEnumerable <BoardCoordinate> expected)
        {
            var movement = new QuandrantMovement(BOARD_SIZE);

            var moves = movement.GetCoordinates(new BoardCoordinate(5, 5));

            Assert.Equal(expected, moves);
        }