public void ByLevel_ValidArgs() { var elevation = 100; var level = Level.ByElevation(elevation); Assert.NotNull(level); var view = FloorPlanView.ByLevel(level); Assert.NotNull(view); }
FloorPlanView GetFloorPlan() { var level = Level.ByElevation(0); Assert.NotNull(level); var view = FloorPlanView.ByLevel(level); Assert.NotNull(view); return(view); }
public void ByLevel_BadArgs() { Assert.Throws(typeof(ArgumentNullException), () => FloorPlanView.ByLevel(null)); }