public override bool LoginCheck() { DataLoginCheck dataLoginCheck = new DataLoginCheck(); DataManager.DriverLicense dataLicese = new DataManager.DriverLicense(); dataLicese.no = this.no; dataLicese.name = this.name; return dataLoginCheck.LoginCheck( dataLicese, DataLoginCheck.driverLicenseStyle); }
public void TestCarData() { // // TODO: 在此处添加测试逻辑 // DataLoginCheck dataLoginCheck = new DataLoginCheck(); DataManager.Car car = new DataManager.Car(); car.carNo = "ABC123"; bool result=dataLoginCheck.LoginCheck( car, DataLoginCheck.carStyle); Assert.AreEqual(result,true); }