Esempio n. 1
0
        public void AssertThatPositionsAreParsedCorrectly(int vertical, int expected)
        {
            var positions = new List <Position>();
            var position  = new Position {
                Horizontal = 0, Vertical = vertical
            };

            positions.Add(position);

            var parsedPositions = movementService.ParseVerticalCoordinates(positions);

            Assert.Equal(expected, parsedPositions[0].Vertical);
        }