Initialize test case is now working, and a Book inititalizes with a title, author and id of nil.
Added status method to Book class which returns the status of the book. Also initialized the status of a book to be 'available' upon instantiation. Tests working
Added check_out method to Book class which allows a Book object to be checked out, and change the value of status to checked_out. Returns true when checked out and false when a book cant be checked out. Tests pass for this method
Added check_out method to Book class which allows a Book object to be checked out, and change the value of status to checked_out. Returns true when checked out and false when a book cant be checked out. Tests pass for this method
Added check_in method, which is very similar to check out. Makes sure status first is checked_out before allowing a book to be checked in. Tests are passing
Added check_in method, which is very similar to check out. Makes sure status first is checked_out before allowing a book to be checked in. Tests are passing
Added instance value of name to Borrower class. Tests pass
Added initialize method to Library which initialized books variable to an empty array. Test passes for this
Added register_new_book method which registers a new book in the library with a unique id. Also pushes book into books array. Test passes
Added check_out_book method which checks out a book from a library using the book id. Currently doesn't use the borrower argument but passes first test
Added check_out_book method which checks out a book from a library using the book id. Currently doesn't use the borrower argument but passes first test
Added borrower instance variable to Book class which defaults to nil. Also added get_borrower method to Library which finds the borrower associated with a certain book. Modified check_out_book in order to associate a borrower with a book that is checked out.
Fixed spelling mistake in Book initialize method. Also changed check_out_book method to not be able to check out a book twice.
Added check_in_book to Library class so books can be checked back in to the library
Added checked_out_books variable to Borrower class in order to make sure borrowers cannot check out more than 2 books. In check_out method, I add 1 to checked_out_books as long as it is under 2. In check_in, I subtract 1 from checked_out_books
Added available_books method to Library which selects only the books in the library that have a status of available
Implemented borrowed_books method which returns borrowed books from a library. Changed the test case for this method because it incorrectly called lib.borrowed_books before any books were checked out, causing an error