Shivam Chaudhary
|
795168cac7
|
Remove unwanted build files
|
2 years ago |
Shivam Chaudhary
|
9f23ff5fdd
|
Remove unnecessary build file
|
2 years ago |
Shivam Chaudhary
|
791b16b0e8
|
Add test getAvailabeAccountBalance
|
2 years ago |
fdai7207
|
6a1e132e53
|
refactoring: replaced 4 arrays in the unit tests of the function storeEmployeeData() with one matrix to avoid repeated code and removed unnecessary lines.
|
2 years ago |
fdai7207
|
6ad040483c
|
refactoring: removed unnecessary lines and changed variables to constants in the storeEmployeeData() given that the function doesnt modify them.
|
2 years ago |
fdai7207
|
b5a764b566
|
implemented the storeEmployeeData() function in the getnewEmployeeCredentials() function in order for the new employee to enter his personal data.
|
2 years ago |
fdai7207
|
c659f9b9aa
|
implement unit tests for the function storeEmployeeData() and fixed a bug in the unit tests of the function chooseOption.
|
2 years ago |
fdai7057
|
6f595fb2dd
|
Implementation of unit test for calculateStringLength().
|
2 years ago |
fdai7057
|
0a3e444766
|
refactoring: renamed function calLen() to calculateStringLength and inner variables in order to increase readability. Now it is easier to understand.
|
2 years ago |
fdai7057
|
68e5650300
|
Implementation of function calLen().
|
2 years ago |
fdai7057
|
73813b54cb
|
refactoring: Changed name of function charIsUp to characterIsUpperCase() and inner variable in order to increase readability.
|
2 years ago |
fdai7057
|
75eb70c8b3
|
Implementation of function charIsUp()
|
2 years ago |
fdai7057
|
0f7ae88baa
|
Implementation of unit test for function customerChoiceForMenuItem().
|
2 years ago |
fdai7057
|
5068387141
|
Modification of the function customerChoiceForMenuItem(). Change void to int. This function now has a return value. Each return value has a meaning. The meaning of the return value lies in the user's choice for a menu item.
|
2 years ago |
fdai7057
|
f55f596853
|
Integrated the customer menu in our programm. The user gains access to the customer menu if the login was successful. From there the user can choose between different menu entries. In the build-script, the file customerMenu.c is added to the files which get compiled.
|
2 years ago |
fdai7057
|
afa674f8d2
|
refactoring: Where possible, remove the use of printf() and use puts() instead in customerMenu.c. One advantage is that it prints the new line character automatically.
|
2 years ago |
fdai7057
|
57d68ed3ed
|
Merge branch 'feature/customer-menu' into 'development'
Merge feature/customer-menu into development.
See merge request fdai7057/bankmanagement-system!17
|
2 years ago |
fdlt3817
|
83c6c9a9b7
|
Merge branch 'feature/update-current-customer-account-balance' into feature/balance-operations
|
2 years ago |
fdai7057
|
ae13e9fbd1
|
prepare merge from feature/customer-menu into development
|
2 years ago |
fdai7057
|
fc927da8c0
|
Extend the test for errorMessage() by adding new test values and assertions.
|
2 years ago |
fdai7057
|
1d3092544f
|
Add new cases inside the switch of the function errorMessage(). Remove the call to the function exit() inside errorMessage(). It is now done by the function that calls it. Now the different return values of this function make sense.
|
2 years ago |
fdai7207
|
95aadea7bb
|
refactoring: replaced the redundant arrays in the unit tests of verifyPassword() function with a matrix for better readability
|
2 years ago |
fdai7207
|
c06136470d
|
refactoring: improved code readability by removing redundant lines, renaming variables and adding comments for documentation.
|
2 years ago |
fdai7207
|
cd4fb8fb7d
|
implement the verifyPassword() function in the getNewEmployeeCredentials() so that the validity of the password can be checked twice.
|
2 years ago |
fdai7207
|
69a25cfa6a
|
implemented unit tests for the new function verifyPassword() and changed the .txt files name while adding a new .txt file for personal emoyees data.
|
2 years ago |
fdai7207
|
1dc001b251
|
refactoring: removed redundant code from the unit tests of the function isValidPassword().
|
2 years ago |
fdai7207
|
0ec4eadc97
|
refactoring: made code more readable by changing some variable name in the isValidPassword() function and added some documentation.
|
2 years ago |
fdai7207
|
39fce8d436
|
implement the isValidPassword() function in the getNewEmployeeCredentials() function in order to check the validity of the entered password.
|
2 years ago |
fdai7207
|
17327b8e43
|
implement unit tests for the function isValidPassword().
|
2 years ago |
fdai7207
|
7f0db86eb1
|
refactoring : removed redundant code from the unit tests of the isValidEmployee() function.
|
2 years ago |
fdai7207
|
25b42cd0c0
|
refactoring: changed some variabales names in createEmployeeAccount.c for better readability.
|
2 years ago |
fdai7207
|
fed4a0a3ad
|
implement the isValidEmployeeID() in the getNewEmployeeCredentials to check Id's validity
|
2 years ago |
fdai7207
|
5e72e1f652
|
optimised the isValidEmployeeID() function and its unit tests
|
2 years ago |
fdai7057
|
1d49c20634
|
Call to errorMessage() with error code -12 in collectCustomerProperties if the user enters too many digits for the account balance.
|
2 years ago |
fdai7057
|
58704be59a
|
Modification of the function collectCustomerProperties. It now contains a call to balanceToDouble(). The reason is: The function scanf() is eliminated. Instead, the input is completely handled by getchar(). Each character is stored consecutively. Thus it can be the parameter for balanceToDouble().
|
2 years ago |
fdai7057
|
fe311209d7
|
refactoring: rename stod to balanceToDouble and its internal variable. The purpose of this function is to convert the user input for the account balance into a double and the new names states this purpose better.
|
2 years ago |
fdai7057
|
ac04c8d244
|
Implementation of function stod() and rename file stringManipulation.{c,h} to helperFunctions.{c,h} because the functions implemented there address different problems and not only string-specific problems.
|
2 years ago |
Shivam Chaudhary
|
993ca16a44
|
Remove unwanted build files
|
2 years ago |
Shivam Chaudhary
|
07cbebd4a4
|
Implement test for file opening with false name
|
2 years ago |
fdai6618
|
a0989dfed0
|
implement initiateMoneyTransfer methode
|
2 years ago |
Shivam Chaudhary
|
2459c3f1ec
|
Correct the path of file CustomerData.txt
|
2 years ago |
Shivam Chaudhary
|
8274f848fd
|
Implement test to check if the file opens
|
2 years ago |
fdai6618
|
5fe8d5d2fd
|
refactoring sendMoney methode
|
2 years ago |
fdai7057
|
be8ceb2652
|
Modified error handling. The error for invalid input for forename and surname when creating a new customer account is caught.
|
2 years ago |
fdai7057
|
7d7f8f6ace
|
Implementation of unit tests for isLetterOfAlphabet.
|
2 years ago |
fdai7057
|
a2730ad965
|
refactoring: Rename one variable and replace decimal values with their character signs in order to increase comprehensibility and readability.
|
2 years ago |
fdai7057
|
af62069f27
|
Implementation of function isLetterOfAlphabet().
|
2 years ago |
fdai7057
|
02010b31d1
|
The error handling is now controlled by the function errorMessage. It is declared in error.h and defined in error.c. It is called in different cases. Each error has its own error code. The advantage is that the error message is specific.
|
2 years ago |
fdai6618
|
2d6de9f15b
|
deleted a comment on methode sendmoney
|
2 years ago |
fdai6618
|
f76fd87ce8
|
modified SendMoney method
|
2 years ago |