777434177f
* Make 'empty(stack)' more robust * Only try to 'push(stack, card)' if card != NULL * Added message explaining why 'pop(stack)' needs to create a new stack object when popping a stack's last element * 'move_card(stack, stack)' now checks if the origin pops something before trying to 'push(stack)' to destination. This prevents dereferencing a possible NULL pointer. |
||
---|---|---|
.. | ||
card_test.c | ||
cursor_test.c | ||
deck_test.c | ||
display_test.c | ||
frame_test.c | ||
game_test.c | ||
keyboard_test.c | ||
stack_test.c | ||
test_helper_test.c | ||
test_helper.c | ||
test_helper.h | ||
ttysolitaire_test.c | ||
ttysolitaire_test.h | ||
util_test.c |