Example #1
0
 protected bool IsFloorValid(int floor, out string msg)
 {
     msg = "";
     if (floor >= 0 && floor <= DriverAddr.GetFloorCount())
     {
         return(true);
     }
     msg = $"Select board: floor is invalid [floor = {floor}]";
     return(false);
 }
 public void TestGetFloorCount()
 {
     Assert.AreEqual(_vbmsDriverAddr.GetFloorCount(), 9);
 }