Пример #1
0
        public void AddZoneBorder()
        {
            var want = Vector3.One;

            var zone = new Zone("tests");

            zone.Map = SetupZoneMap.SetupSmallGrid();
            zone.AddBoundary("A", want, "B", want * -1);
            var got = zone.Boundaries.Find(b => b.ToZone == "B").FromPosition;

            Assert.Equal(want, got);
        }