public void ReturnBookTest()
        {
            issue_register ir = new issue_register();
            bool           res = false;
            string         studID = "101", bookID = "15";
            Student        s = new Student();
            Books          b = new Books();

            if (s.StudentExists(studID, dbpath) && b.BookIDExists(bookID, dbpath))
            {
                res = ir.ReturnBook(studID, bookID, dbpath);
            }
            Assert.AreEqual(res, true);
        }
        public void issuebookTest()
        {
            bool           res = false;
            issue_register ir  = new issue_register();

            ir.StudentID = "101"; ir.BookID = "15"; ir.IssueDate = DateTime.Today; ir.Status = "nr";
            Student s = new Student();
            Books   b = new Books();

            if (s.StudentExists(ir.StudentID, dbpath) && b.BookIDExists(ir.BookID, dbpath))
            {
                res = ir.IssueBook(ir, dbpath);
            }
            Assert.AreEqual(res, true);
        }