bugfix bintree
This commit is contained in:
parent
14fa468431
commit
e4b2c4b8eb
BIN
highscore.o
Normal file
BIN
highscore.o
Normal file
Binary file not shown.
@ -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);
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user