public void Sta_at_10_floor_return_10_floor() { var sta = new UnifiSta() { oui = "test", noise = -95, signal = -25, ap_mac = "2:2:2" }; var staFinder = new StaFinder(new NetWorkGeoMap()); var placeInfo = staFinder.Find(sta); Assert.AreEqual(PlaceEnum.TenthFloor, placeInfo.Place); }
public void Sta_at_Mezzanine_return_Mezzanine() { var sta = new UnifiSta() { oui = "test", noise = -95, signal = -25, ap_mac = "1:1:1" }; var staFinder = new StaFinder(new NetWorkGeoMap()); var placeInfo = staFinder.Find(sta); Assert.AreEqual(PlaceEnum.Mezzanine, placeInfo.Place); }