public void GetLenderTest() { // string ConnectionString = string.Empty; // TODO: 初始化为适当的值 DBLendingInfoDetail target = new DBLendingInfoDetail(connstr); // TODO: 初始化为适当的值 string num = string.Empty; // TODO: 初始化为适当的值 num = "2302715"; DataTable expected = null; // TODO: 初始化为适当的值 DataTable actual; actual = target.GetLender(num); // Assert.AreEqual(expected, actual); Assert.IsNotNull(actual); //Assert.Inconclusive("验证此测试方法的正确性。"); }
/// <summary> /// 领用人的guid /// </summary> /// <param name="num"></param> /// <returns></returns> public DataTable GetLender(string num) { return(db.GetLender(num)); }