stackTest file added

This commit is contained in:
Jonas Urban 2025-11-21 00:31:48 +01:00
parent 99477d3b58
commit 179965193e

View File

@ -1,4 +1,5 @@
#include "stack.h"
<<<<<<< HEAD
#include "unity/unity.h"
#include "unity/unity_internals.h"
@ -143,11 +144,19 @@ void test_clearStackFreesMemory(void)
TEST_ASSERT_NULL(stack);
}
*/
=======
#include "unity.h"
#include "unity_internals.h"
void setUp(void) { }
void tearDown(void) { }
>>>>>>> 0c075ea (stackTest file added)
int main()
{
UNITY_BEGIN();
<<<<<<< HEAD
printf("\n============================\n Stack tests\n============================\n");
printf("-> Create Nodes (push)\n");
RUN_TEST(test_createNodeAbortsOnZeroData);
@ -163,5 +172,7 @@ int main()
RUN_TEST(test_outputTopFailsOnZero);
RUN_TEST(test_outputTopCorrect);
=======
>>>>>>> 0c075ea (stackTest file added)
return UNITY_END();
}