Пример #1
0
        public void TransformClockwiseFromNorth()
        {
            PositionVector vector = new PositionVector(0, 0, Direction.Notrh);
            var            result = vector.Transform(true);

            Assert.AreEqual(Direction.East, result.Direction);
        }
Пример #2
0
        public void TransformAntiClockwiseFromWest()
        {
            PositionVector vector = new PositionVector(0, 0, Direction.West);
            var            result = vector.Transform(false);

            Assert.AreEqual(Direction.South, result.Direction);
        }