Add the following methods to the LibraryBook class.
LibraryBook b1 = LibraryBook("The Iliad", "Homer", "F 121.11H");
LibraryBook b2 = LibraryBook("The Odyssey", "Homer", "F 121.12H");
b1.checkout("Karen Glenn", MyDate(JUL, 7, 2004));
b2.checkout("Karen Glenn", MyDate(JAN, 5, 2005));
b1.printWarning(5);
b2.printWarning(5);
we should get the following output
The Iliad checked out by Karen Glenn due on 10/18/2003 12:00 AMSince the first book is due within five days and the second one is not.
Finish the test driver started in BookTest.cpp. Your test driver should test all the cases of the methods described above. For example, to test isReference you would display the result of calling isReference on a reference book and a non-reference book. Part of your grade for this homework will depend on how completely you test your class.