A Programaçao Orientada a Objeto
Por: Kleber.Oliveira • 8/2/2018 • 704 Palavras (3 Páginas) • 476 Visualizações
...
Narrative:
Validate card
Customer inserts card
Card is validated, if card is invalid it will be rejected
Validate Customer
Customer inserts PIN
PIN is validated, if pin is invalid will be required to be confirmed
Specify Amount
Customer requests amount
System checks balance, if not enough funds will be displayed the following message: You have insufficient funds to complete the transaction
Issue Money
Determine availability
Count money
Eject card
Provide money
Provide Receipt
FLOW CHART DIAGRAM 1: Action Required: Deposit Money
[pic 88]
---------------------------------------------------------------
FLOW CHART DIAGRAM 2: Action Required: Withdraw Money
[pic 89]
CLASS DIAGRAM[pic 90][pic 91][pic 92][pic 93][pic 94][pic 95][pic 96]
[pic 97]
[pic 98]
[pic 99]
Test
Number
Test Description
Test Date/Action
Test Result
Re-Test Y/N
Normal
Erroneous
Extreme
Black Box Testing
1
Depositing Money in Current Account
20
#£!!!!
White Box Testing
- Bank Account is a class that provides variables and methods that can be inherited by all the different accounts types which each one are classified as subclasses.
- Polymorphism can be presented in all the 5 types of bank accounts, each one behaves and provide transactions that can be unique or common to other account types.
- Current and Business Accounts present specific variables and methods that can provide a wider range of transactions and possibilities than Savings, ISA and Child Accounts.
- Savings account can do most of transactions but presents some limitations, such as no credit card, loans and or overdraft are not applicable and some of the methods are not available, however it can provide interest.
- ISA and Child Accounts are accounts which an agreement is made that money cannot be withdrawn before the end of terms and conditions of the agreement. They are very basic accounts and do not provide overdraft, credit cards, loans, however they can also provide interest as savings accounts.
- In order to develop the system it was adopted Adaptive Planning in which the requirements were added during the development process.
---------------------------------------------------------------
References
https://youtu.be/OkC7HKtiZC0
...