Browse Source

Änderung variablen auch in Test

remotes/origin/erwin
fdai7820 11 months ago
parent
commit
a3fc48cd14
  1. 20
      build/test/cache/test_duellist_spielesammlung_projekt.c
  2. BIN
      build/test/out/c/duellist-spielesammlung-projekt.o
  3. BIN
      build/test/out/c/test_duellist_spielesammlung_projekt.o
  4. 20
      build/test/preprocess/files/test_duellist_spielesammlung_projekt.c
  5. 4
      src/test/test_duellist_spielesammlung_projekt.c

20
build/test/cache/test_duellist_spielesammlung_projekt.c

@ -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);

BIN
build/test/out/c/duellist-spielesammlung-projekt.o

BIN
build/test/out/c/test_duellist_spielesammlung_projekt.o

20
build/test/preprocess/files/test_duellist_spielesammlung_projekt.c

@ -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);

4
src/test/test_duellist_spielesammlung_projekt.c

@ -581,7 +581,7 @@ void test_exponentiation(void)
{
/* arrange */
int base = 2;
int exponent = 3;
int expo = 3;
/* act */
int result = exponent(base, expo);
@ -594,7 +594,7 @@ void test_exponentiation_negativeExponent(void)
{
/* arrange */
int base = 2;
int exponent = -3;
int expo = -3;
/* act */
int result = exponent(base, expo);

Loading…
Cancel
Save