stackTest small fix
This commit is contained in:
parent
c3ce82150e
commit
271eedd37c
@ -233,9 +233,6 @@ int main()
|
|||||||
{
|
{
|
||||||
UNITY_BEGIN();
|
UNITY_BEGIN();
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< 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);
|
||||||
@ -251,11 +248,6 @@ int main()
|
|||||||
RUN_TEST(test_outputTopFailsOnZero);
|
RUN_TEST(test_outputTopFailsOnZero);
|
||||||
RUN_TEST(test_outputTopCorrect);
|
RUN_TEST(test_outputTopCorrect);
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 0c075ea (stackTest file added)
|
|
||||||
=======
|
|
||||||
=======
|
|
||||||
>>>>>>> ef8340ba6b9e7a4d6bac8d0eb9b4b987a9316088
|
|
||||||
RUN_TEST(test_push_should_add_new_node_at_top);
|
RUN_TEST(test_push_should_add_new_node_at_top);
|
||||||
RUN_TEST(test_push_multiple_should_chain_nodes_correctly);
|
RUN_TEST(test_push_multiple_should_chain_nodes_correctly);
|
||||||
RUN_TEST(test_top_should_return_null_on_empty_stack);
|
RUN_TEST(test_top_should_return_null_on_empty_stack);
|
||||||
@ -264,9 +256,5 @@ int main()
|
|||||||
RUN_TEST(test_pop_should_remove_single_element);
|
RUN_TEST(test_pop_should_remove_single_element);
|
||||||
RUN_TEST(test_pop_should_remove_top_node_only);
|
RUN_TEST(test_pop_should_remove_top_node_only);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
>>>>>>> 0d561c0 (added stackTest)
|
|
||||||
=======
|
|
||||||
>>>>>>> ef8340ba6b9e7a4d6bac8d0eb9b4b987a9316088
|
|
||||||
return UNITY_END();
|
return UNITY_END();
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user