mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
4.9 KiB
91 lines
4.9 KiB
4 years ago
|
#### Functional
|
||
|
|
||
|
##### Open the application and register a new user with the name `"Alice"` and the password `"q1w2e3r4t5y6"`
|
||
|
|
||
|
###### Is this user saved in the file `"./data/users.txt"`, and if so are all credentials correct (name and password)?
|
||
|
|
||
|
##### Open the application and register again the user `"Alice"`.
|
||
|
|
||
|
###### Did it displayed an error message saying that this user already exists?
|
||
|
|
||
|
##### Open the application and register again the user `"Alice"`, then open the file `"./data/users.txt"`.
|
||
|
|
||
|
###### Are all the user names unique? (ex: no repetition on the name Alice)
|
||
|
|
||
|
##### Try and login as `"Alice"`.
|
||
|
|
||
|
###### Was Alice able to enter the main menu?
|
||
|
|
||
|
##### Try to create two accounts using the user Alice, then select the option `"Update information of account"` and select an account number that does not exist for Alice.
|
||
|
|
||
|
###### Did the application displayed some kind of error message saying that this account does not exist?
|
||
|
|
||
|
##### Utilizing the user Alice try and select the option `"Update information of account"` and select one of the accounts you created for Alice.
|
||
|
|
||
|
###### Did the the application prompt a choice of updating the **phone number** or the **country**?
|
||
|
|
||
|
##### Utilizing the user Alice try and select the option `"Update information of account"` and select one of the accounts you created for Alice. Then update the phone number of that account.
|
||
|
|
||
|
###### Was the phone number of that account updated in the application and the file `"records.txt"`?
|
||
|
|
||
|
##### Utilizing the user Alice try and select the option `"Update information of account"` and select one of the accounts you created for Alice. Then update the country of that account.
|
||
|
|
||
|
###### Was the country of that account updated in the application and the file `"records.txt"`?
|
||
|
|
||
|
##### Utilizing the user Alice try to create a new account with: date `"10/10/2012"` account number `"834213"`, country `"UK"`, phone number `"291231392"`, deposit amount $`"1001.20"`, type of account `"saving"`. Then select `"Check accounts"` choose the account you just created.
|
||
|
|
||
|
###### Did the application displayed the account information and the gain of $5.84 of interest on day 10 of every moth?
|
||
|
|
||
|
##### Utilizing the user Alice create again an account but with account number `"320421"` and type of account `"fixed01"` the rest can be the same as the last account. Then select `"Check accounts"` choose the account you just created.
|
||
|
|
||
|
###### Did the application displayed the account information and the gain of $40.05 of interest on 10/10/2013?
|
||
|
|
||
|
##### Utilizing the user Alice create again an account but with account number `"3214"` and type of account `"fixed02"` the rest can be the same as the last account. Then select `"Check accounts"` choose the account you just created.
|
||
|
|
||
|
###### Did the application displayed the account information and the gain of $100.12 of interest on 10/10/2014?
|
||
|
|
||
|
##### Utilizing the user Alice create again an account but with account number `"3212"` and type of account `"fixed03"` the rest can be the same as the last account. Then select `"Check accounts"` choose the account you just created.
|
||
|
|
||
|
###### Did the application displayed the account information and the gain of $240.29 of interest on 10/10/2015?
|
||
|
|
||
|
##### Utilizing the user Alice select the option `"Make transaction"`. Then choose the account with the id `"3212"`
|
||
|
|
||
|
###### Are you able to choose between withdrawing or depositing?
|
||
|
|
||
|
##### Utilizing the user Alice select the option `"Make transaction"`, choose the account with the id `"3212"`. Then try to withdraw money.
|
||
|
|
||
|
###### Are you able to withdraw money?
|
||
|
|
||
|
###### And if so, did the withdraw was updated in the file `"records.txt"`?
|
||
|
|
||
|
###### Is it not possible to withdraw an amount superior to your available balance?
|
||
|
|
||
|
##### Try to deposit money into the account `"3212"`.
|
||
|
|
||
|
###### Were you able to deposit money into this account?
|
||
|
|
||
|
###### And if so did it update the file `"records.txt"`?
|
||
|
|
||
|
##### Utilizing the use Alice try to select the option `"Remove existing account"` and remove the accounts `"834213"`, `"320421"` and `"3214"`.
|
||
|
|
||
|
###### Can you confirm that those account were deleted, both in the application and file `"records.txt"`?
|
||
|
|
||
|
##### Utilizing the use Alice select the option `"Remove existing account"` and try to remove and nonexisting account.
|
||
|
|
||
|
###### Did the application prompt some king of error saying that the account does not exits?
|
||
|
|
||
|
##### Create another user named `"Michel"`. Then by using the user Alice select the option `"transfer owner"` and try to transfer ownership of the account `"3212"` to Michel.
|
||
|
|
||
|
###### Were you able to transfer the ownership of this account to Michel? And if so did it update both application and file named `"records.txt"`?
|
||
|
|
||
|
#### Bonus
|
||
|
|
||
|
###### +Did the student update the terminal interface?
|
||
|
|
||
|
###### +Is the password saved in the file `"users.txt"` encrypted?
|
||
|
|
||
|
###### +Did the student make their own Makefile?
|
||
|
|
||
|
###### +Did the student add more features to the project?
|
||
|
|
||
|
###### +Did the student optimise the code already given?
|