示例#1
0
        public void TestGetBookByID1()
        {
            int      ID_Book = -1000;
            BooksDAL bo      = new BooksDAL();

            Assert.Null(bo.GetBookById(ID_Book));
        }
示例#2
0
 public Books GetBookById(int ID_Book)
 {
     return(B_BL.GetBookById(ID_Book));
 }
示例#3
0
        public void TestGetBookByID(int ID_Book)
        {
            BooksDAL book = new BooksDAL();

            Assert.NotNull(book.GetBookById(ID_Book));
        }