Public feed #380599

Someone

public text v1 · immutable
Raw Edit
·published 2007-03-04 04:54 UTC
rendered paste body

  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;
  }