19 Commits (506838714140d5ed54d3693fe25d9527606548b9)

Author SHA1 Message Date
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 fc927da8c0 Extend the test for errorMessage() by adding new test values and assertions. 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 7d7f8f6ace Implementation of unit tests for 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 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 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 cd3e643660 fix errors that occured while using ceedling to run tests of different files with one call to test:all. 2 years ago
fdai7207 eee36c1fda refactoring: removed redundant code in the unit tests of the chooseOption() function. 2 years ago
fdai7207 ceccdd60a9 implement unit tests for the function chooseOption(). 2 years ago
fdai7207 8543ec2ec2 refactoring: removed redundant code in the unit tests to improve readability and maintainability. 2 years ago
fdai7207 c135603ed0 implement unit tests for the functions agePermission() and checkIfInteger() 2 years ago