Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96a97c07c9 | ||
|
|
0575eac07e |
Binary file not shown.
@@ -81,4 +81,5 @@ void clearStack(StackNode **stack)
|
|||||||
(*stack) = next;
|
(*stack) = next;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -35,6 +35,7 @@ void test_clearStack(void) {
|
|||||||
|
|
||||||
testStack = push(testStack, &testInts[i]);
|
testStack = push(testStack, &testInts[i]);
|
||||||
}
|
}
|
||||||
|
//printf("testints: %d,%d,%d,%d,%d",testInts[0],testInts[1],testInts[2],testInts[3],testInts[4]);
|
||||||
|
|
||||||
clearStack(&testStack);
|
clearStack(&testStack);
|
||||||
TEST_ASSERT_NULL(testStack);
|
TEST_ASSERT_NULL(testStack);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user