85 Commits (1d3092544fa74ffa5014263d1654c21d0fd1b813)
 

Author SHA1 Message Date
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
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
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
fdai7057 8696c0609d Merge branch 'feature/error-handling' into 'development' 2 years ago
fdai7057 0a0a197b6f Prepare merge from feature/error-handling into development, rename folders. 2 years ago
fdai7057 c5dec7f704 Add preprocessor directives in four header files. 2 years ago
fdai7057 a18a4fed92 refactoring: The function test_toUnsignedInteger() is modified. The test now contains more test cases than before. Variables names are modified to increase readability. Assertions written under each other have been replaced with loops that verify them. 2 years ago
fdai7057 62186d36ae Implementation of unit tests for toUnsignedInteger(). 2 years ago
fdai7057 d7a102e3b1 refactoring: add more test cases and use easy names for arrays to increase readability. Assertions writen under each other have been replaced with loops that verify them. 2 years ago
fdai7057 59dbe0e96e Implementation of unit tests for everyCharacterIsDigit(). 2 years ago
fdai7057 fa12fdef2a Implementation of function everyCharacterIsDigit(). 2 years ago
fdai7057 d8f3b64d53 refactoring: change variable names to increase readability. 2 years ago
fdai7057 b8c357c667 bug fix: the behaviour of the function power() for 0 to the power of 0 and and for an exponent with the value 0 for any positive base in the range of the data type is not undefined anymore. 2 years ago
fdai7057 dcf1fc89bd refactoring: add more test cases 2 years ago
fdai7057 84da853102 Implementation of unit tests for power() and add line to build-script in order to call ceedling from there. 2 years ago
fdai7057 854366fd97 Implementation of function power(). 2 years ago
fdai7057 cd3e643660 fix errors that occured while using ceedling to run tests of different files with one call to test:all. 2 years ago
fdai7057 34007afda0 Implementation of to_unsignedInteger() 2 years ago
fdai7057 5709d437f6 Implementation of function runBankmanagementSystem(). This function is the starting point of our software. Its job is to call other functions implemented in other c-files. Multiple files are compiled. 2 years ago
fdai7057 943fbc0a8b Merge branch 'feature/customer-login' into 'development' 2 years ago
fdai7057 7b588354dd solve merge conflict 2 years ago
fdai7057 de53d4ef95 solve merge conflict 2 years ago
fdai7057 5b5c4dccea refactoring: replaced variables with arrays and the consecutive use of assertions with for-loops 2 years ago
fdai7057 dee4af27ad solve merge conflict 2 years ago
fdai7057 3e76d660b0 implementation of checkLogin() 2 years ago
fdai7057 34f838204a Implementation of function stringConcatenation() and creation of docs.txt to as a documentation for the functions. 2 years ago
fdai7057 79573d2381 refactoring: rename variables for better understanding, write comment to explain function generateCheckString(), optimize intendation 2 years ago
fdai7057 6c766ee827 implementation of unit tests for generateCheckString() 2 years ago
fdai7057 e9d4d56754 implementation of unit test for to_string() 2 years ago
fdai7057 349f173811 solve merge conflict 2 years ago
fdai7057 dc6049fa86 solve merge conflict 2 years ago
fdai7057 4d810f5640 Merge branch 'feature/string-handling' into 'feature/customer-login' 2 years ago
fdai7057 104aae81c4 Merge branch 'feature/customer-login' into 'feature/string-handling' 2 years ago
fdai7057 44921acb9f Merge branch 'feature/customer-creation' into 'development' 2 years ago
fdai7057 6103f83bf8 Merge branch 'development' into 'feature/customer-creation' 2 years ago
fdai7207 eee36c1fda refactoring: removed redundant code in the unit tests of the chooseOption() function. 2 years ago
fdai7207 0e8d805605 refactoring: made code more readable and enhanced the menuInput() and chooseOption() functions. 2 years ago
fdai7207 ac4b64166e implement the function menuInput(), in order for the user to choose a banking option. 2 years ago
fdai7057 cf8f751500 Merge branch 'development' into 'feature/customer-creation' 2 years ago
fdai7207 f7e366f6ff Merge branch 'feature/the-main-menu' into 'development' 2 years ago
fdai7207 e501cbdd5e Merge branch 'development' into 'feature/the-main-menu' 2 years ago
fdai7207 26ea996b0b implement the function menuInput(), in order for the user to choose a menu option. 2 years ago
fdai7207 ceccdd60a9 implement unit tests for the function chooseOption(). 2 years ago