Пример #1
0
        public void MoveToTheTrumanBreweryThenMoveBackToTheStartingZone()
        {
            var zoneSwitcher = new ZoneSwitcher();
            var firstZone    = ZoneBuilder.Build("StartingZone");
            var secondZone   = zoneSwitcher.GetNextZone(firstZone, Direction.N);
            var thirdZone    = zoneSwitcher.GetNextZone(secondZone, Direction.S);

            Assert.Equal("StartingZone", thirdZone.GetZoneName());
        }
Пример #2
0
        public void MoveToTheTrumanBreweryFromTheStartingZone()
        {
            var zoneSwitcher = new ZoneSwitcher();
            var firstZone    = ZoneBuilder.Build("StartingZone");
            var zone         = zoneSwitcher.GetNextZone(firstZone, Direction.N);

            Assert.Equal("Truman Brewery Hall 1", zone.GetZoneName());
        }