|
|
@ -974,7 +974,7 @@ void test_generateRandomNumber_withinValidRange(void) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int result = generateRandomNumber(1, 100); |
|
|
|
int result = zufallszahl(1, 100); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1000,7 +1000,7 @@ void test_addition(void) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int result = addition(a, b); |
|
|
|
int result = add(a, b); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1030,7 +1030,7 @@ void test_subtraction(void) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int result = subtraction(a, b); |
|
|
|
int result = minus(a, b); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1062,7 +1062,7 @@ void test_multiplication(void) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int result = multiplication(a, b); |
|
|
|
int result = mal(a, b); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1092,7 +1092,7 @@ void test_division(void) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int result = division(a, b); |
|
|
|
int result = durch(a, b); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1122,7 +1122,7 @@ void test_division_byZero_returnsZero(void) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int result = division(num1, num2); |
|
|
|
int result = durch(num1, num2); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1266,13 +1266,13 @@ void test_exponentiation(void) |
|
|
|
|
|
|
|
int base = 2; |
|
|
|
|
|
|
|
int exponent = 3; |
|
|
|
int expo = 3; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int result = exponentiation(base, exponent); |
|
|
|
int result = exponent(base, expo); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1296,13 +1296,13 @@ void test_exponentiation_negativeExponent(void) |
|
|
|
|
|
|
|
int base = 2; |
|
|
|
|
|
|
|
int exponent = -3; |
|
|
|
int expo = -3; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int result = exponentiation(base, exponent); |
|
|
|
int result = exponent(base, expo); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|