From 01bc6131899a5ea8cbf5097a4d75019fcc71b281 Mon Sep 17 00:00:00 2001 From: Jens Burger Date: Tue, 9 Dec 2025 10:45:10 +0100 Subject: [PATCH] =?UTF-8?q?Kommentare=20gel=C3=B6scht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test_stack.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) 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"); }