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 |
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 |
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'
Merge feature/error-handling into development
See merge request fdai7057/bankmanagement-system!16
|
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'
Merging feature/customer-login into development.
See merge request fdai7057/bankmanagement-system!14
|
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'
Merging feature/string-handling into feature/customer-login.
See merge request fdai7057/bankmanagement-system!12
|
2 years ago |