diff --git a/test_stack.c b/test_stack.c index 9e1dbd1..2576f65 100644 --- a/test_stack.c +++ b/test_stack.c @@ -26,15 +26,6 @@ void testeStackBeschreiben() TEST_ASSERT_NOT_NULL(topValue); TEST_ASSERT_EQUAL_INT(42, *topValue); - /*if(topValue != NULL && *topValue == 42) - { - printf("Test 1: Erstes Element erfolgreich gepusht!\n"); - } - else - { - printf("Test 1: FEHLGESCHLAGEN!\n"); - }*/ - int wert2 = 12; stack = push(stack, &wert2); @@ -47,15 +38,6 @@ void testeStackBeschreiben() TEST_ASSERT_NOT_NULL(secondValue); TEST_ASSERT_EQUAL_INT(42, *secondValue); - /*if(topValue != NULL && *topValue == 12 && secondValue != NULL && *secondValue == 42) - { - printf("Test 2: Zweites Element erfolgreich gepusht!\n"); - } - else - { - printf("Test 2: FEHLGESCHLAGEN!\n"); - }*/ - //printf("=== Ende Test: push() ===\n\n"); return; @@ -79,15 +61,6 @@ void testepop() TEST_ASSERT_NOT_NULL(topValue); TEST_ASSERT_EQUAL_INT(20, *topValue); - /*if(topValue != NULL && *topValue == 20) - { - printf("Test: Erstes Element erfolgreich gelöscht!\n"); - } - else - { - printf("Test 1: FEHLGESCHLAGEN!\n"); - }*/ - //printf("=== Ende Test: pop() ===\n\n"); } @@ -107,15 +80,6 @@ void testetop() TEST_ASSERT_NOT_NULL(topValue); TEST_ASSERT_EQUAL_INT(74, *topValue); - /*if(topValue != NULL && *topValue == 74) - { - printf("Test: top() gibt korrektes Element zurück!\n"); - } - else - { - printf("Test: FEHLGESCHLAGEN!\n"); - }*/ - //printf("=== Ende Test: top() ===\n\n"); }