374 Commits (1f6796c3e6e5b2954fdf2e80fc7278f016b5b33c)
 

Author SHA1 Message Date
fdlt3817 0a8d9c9699 Created a fail case for non-existent customers 2 years ago
fdlt3817 87e16d0b27 Created an error system that displays error information 2 years ago
Shivam Chaudhary 69b08ccb8f Modify function's name and parameter 2 years ago
Shivam Chaudhary fc0854cf5c Add missing headers 2 years ago
Shivam Chaudhary ce2bd02446 Refactoring: Add more data and organise code 2 years ago
Shivam Chaudhary ce29bd9b4f Add missing declaration of parameter of function 2 years ago
Shivam Chaudhary 82acaece2c Create test for initiateWithdraw function 2 years ago
Shivam Chaudhary db1e04b6c9 Refactoring: organise test code 2 years ago
Shivam Chaudhary a76cb12cb2 Merge branch 'feature/withdraw-money-system' into feature/balance-operations 2 years ago
Shivam Chaudhary 5e2aa0faac Merge branch 'feature/get-customer-current-account-balance' into feature/balance-operations 2 years ago
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' 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