Murilo Pereira 777434177f Added tests for the stack and made them pass.
* 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.
2011-02-13 23:13:16 -02:00
..
2011-02-12 01:26:03 -02:00
2011-02-06 03:45:58 -02:00
2011-02-06 04:14:17 -02:00
2011-02-06 03:45:58 -02:00
2011-02-12 01:26:03 -02:00
2011-02-06 03:45:58 -02:00
2011-02-06 04:51:49 -02:00
2011-02-06 04:51:49 -02:00
2011-02-12 01:26:03 -02:00
2011-02-06 03:45:58 -02:00
2011-02-11 23:58:01 -02:00
2011-02-06 04:51:49 -02:00
2011-02-06 04:51:49 -02:00
2011-02-09 23:13:44 -02:00