stackTest file added
This commit is contained in:
parent
99477d3b58
commit
179965193e
@ -1,4 +1,5 @@
|
|||||||
#include "stack.h"
|
#include "stack.h"
|
||||||
|
<<<<<<< HEAD
|
||||||
#include "unity/unity.h"
|
#include "unity/unity.h"
|
||||||
#include "unity/unity_internals.h"
|
#include "unity/unity_internals.h"
|
||||||
|
|
||||||
@ -143,11 +144,19 @@ void test_clearStackFreesMemory(void)
|
|||||||
TEST_ASSERT_NULL(stack);
|
TEST_ASSERT_NULL(stack);
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
=======
|
||||||
|
#include "unity.h"
|
||||||
|
#include "unity_internals.h"
|
||||||
|
|
||||||
|
void setUp(void) { }
|
||||||
|
void tearDown(void) { }
|
||||||
|
>>>>>>> 0c075ea (stackTest file added)
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
UNITY_BEGIN();
|
UNITY_BEGIN();
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
printf("\n============================\n Stack tests\n============================\n");
|
printf("\n============================\n Stack tests\n============================\n");
|
||||||
printf("-> Create Nodes (push)\n");
|
printf("-> Create Nodes (push)\n");
|
||||||
RUN_TEST(test_createNodeAbortsOnZeroData);
|
RUN_TEST(test_createNodeAbortsOnZeroData);
|
||||||
@ -163,5 +172,7 @@ int main()
|
|||||||
RUN_TEST(test_outputTopFailsOnZero);
|
RUN_TEST(test_outputTopFailsOnZero);
|
||||||
RUN_TEST(test_outputTopCorrect);
|
RUN_TEST(test_outputTopCorrect);
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> 0c075ea (stackTest file added)
|
||||||
return UNITY_END();
|
return UNITY_END();
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user