예제 #1
0
        public void GetFloorReturnsNullOnEmptyMapTest()
        {
            var region = new MapRegion();

            var result = region.GetFloorAtPosition(Vector2Int.ZeroVector);

            Assert.Null(result);
        }
예제 #2
0
        public void GetFloorReturnsNullOnInvalidPositionTest()
        {
            var region = new MapRegion().FillTestPattern();

            var result = region.GetFloorAtPosition(invalidPosition);

            Assert.Null(result);
        }