def test_getAuthor(): b1 = Book("The Shining", "King, Stephen", 1977) assert b1.getAuthor() == "King, Stephen"
def main(): book1 = Book("The Cat in the Hat") print(book1.getTitle()) book1.setAuthor("Dr. Seuss") print(book1.getAuthor())