예제 #1
0
        public void DeleteBook()
        {
            BookInfo book = new BookInfo();

            Assert.IsTrue(book.DeleteBook("A23"));
            DataSet ds = book.GetBookInfo("A23");

            Assert.IsNotNull(ds);
            Assert.AreEqual(0, ds.Tables[0].Rows.Count);
        }
예제 #2
0
 public bool DeleteBook(string bookid)
 {
     return(book.DeleteBook(bookid));
 }