예제 #1
0
 protected bool IsLocationValid(int location, out string msg)
 {
     msg = "";
     if (location >= 0 && location <= DriverAddr.GetLocationCount())
     {
         return(true);
     }
     msg = $"Select board: location is invalid [location = {location}]";
     return(false);
 }
예제 #2
0
 public void TestGetLocationCount()
 {
     Assert.AreEqual(_vbmsDriverAddr.GetLocationCount(), 9);
 }