Question: Write unittest for One limited example of how your classes might be used is: ` ` ` b 1 = Book ( 3 4
Write unittest for One limited example of how your classes might be used is:
b Book "Phantom Tollbooth", "Juster"
a AlbumAnd His Orchestra", "The Fastbacks"
m Movie "Laputa", "Miyazaki"
printbgetauthor
printagetartist
printmgetdirector
p Patronabc "Felicity"
p Patronbcd "Waldo"
lib Library
lib.addlibraryitemb
lib.addlibraryitema
lib.addpatronp
lib.addpatronp
lib.checkoutlibraryitembcd
for in range:
lib.incrementcurrentdate # days pass
lib.checkoutlibraryitemabc
loc agetlocation
lib.requestlibraryitemabc
for in range:
lib.incrementcurrentdate # days pass
pfine pgetfineamount
lib.payfinebcd pfine
lib.returnlibraryitem
You are responsible for testing all of the required functions to make sure they operate as specified.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
