Пример #1
0
        public void ByLevel_ValidArgs()
        {
            var elevation = 100;
            var level     = Level.ByElevation(elevation);

            Assert.NotNull(level);

            var view = FloorPlanView.ByLevel(level);

            Assert.NotNull(view);
        }
Пример #2
0
        FloorPlanView GetFloorPlan()
        {
            var level = Level.ByElevation(0);

            Assert.NotNull(level);

            var view = FloorPlanView.ByLevel(level);

            Assert.NotNull(view);

            return(view);
        }
Пример #3
0
 public void ByLevel_BadArgs()
 {
     Assert.Throws(typeof(ArgumentNullException), () => FloorPlanView.ByLevel(null));
 }