protected bool IsSeatValid(int seat, out string msg) { msg = ""; if (seat >= 0 && seat <= DriverAddr.GetSeatCount()) { return(true); } msg = $"Select seat: seat is invalid [seat = {seat}]"; return(false); }
public void TestGetSeatCount() { Assert.AreEqual(_vbmsDriverAddr.GetSeatCount(), 25); }