Program 3 Grade Sheet

Part 1

Does your driver test each of the methods in each of the classes?

FTSA = FixedTermSavingsAccount       SA = SavingsAccount      

MSA = Mixed SavingsAccount

Points off ( missing)

Account type

Method tested

 

 

FTSA

constructor(...)

 

 

SA

constructor(...)

 

 

MSA

constructor (...,...)

 

 

FTSA

getAccountID()

 

 

SA

getAccountID()

 

 

MSA

getAccountID()

 

 

FTSA

getUserName()

 

 

SA

getUserName()

 

 

MSA

getUserName()

 

 

FTSA

getBalance()

 

 

SA

getBalance()

 

 

MSA

getBalance()

 

 

FTSA

getBallanceMessage()

 

 

SA

getBallanceMessage()

 

 

MSA

getBallanceMessage()

 

 

FTSA

compareTo(...)

 

 

SA

compareTo(...)

 

 

MSA

compareTo(...)

 

 

FTSA

deposit(...)

legal

 

SA

deposit(...)

legal

 

MSA

deposit(...)

legal

 

FTSA

deposit(...)

illegal

 

SA

deposit(...)

illegal

 

MSA

deposit(...)

illegal

 

FTSA

withdrawal(...)

legal

 

SA

withdrawal(...)

legal

 

MSA

withdrawal(...)

legal

 

FTSA

withdrawal(...)

illegal

 

SA

withdrawal(...)

illegal

 

MSA

withdrawal(...)

illegal