Public feed
#380599
void test5() {
cout << "Test #5: Sorted array, hasBook test \t -- ";
Book** books = new Book*[5];
fillBooklist(books);
SortedBag* usb = new SortedBag(10, books, 5);
if ((usb->hasBook(222222222) == true)){
cout << "Passed" << endl;
}
else {
cout << "Failed" << endl;
}
delete usb;
}