bugfix bintree
This commit is contained in:
BIN
Binary file not shown.
+2
-2
@@ -39,7 +39,7 @@ void test_push_and_top(void)
|
|||||||
|
|
||||||
TEST_ASSERT_EQUAL_INT(30, *(int*)top(stack));
|
TEST_ASSERT_EQUAL_INT(30, *(int*)top(stack));
|
||||||
|
|
||||||
clearStack(&stack);
|
clearStack(stack);
|
||||||
TEST_ASSERT_NULL(stack);
|
TEST_ASSERT_NULL(stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ void test_clearStack(void)
|
|||||||
stack = push(stack, &x);
|
stack = push(stack, &x);
|
||||||
stack = push(stack, &y);
|
stack = push(stack, &y);
|
||||||
|
|
||||||
clearStack(&stack);
|
clearStack(stack);
|
||||||
|
|
||||||
TEST_ASSERT_NULL(stack);
|
TEST_ASSERT_NULL(stack);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user