tty-solitaire/test/test_helper.h
Murilo Pereira 422a866e10 Added helper functions for the unit tests.
* Also added tests for the helper functions
2011-02-13 19:35:40 -02:00

17 lines
440 B
C

#ifndef TEST_HELPER_H
#define TEST_HELPER_H
#include <stdbool.h>
#include "../lib/frame.h"
#include "../lib/card.h"
#include "../lib/stack.h"
bool frames_equal(struct frame *, struct frame *);
bool cards_equal(struct card *, struct card *);
bool stacks_equal(struct stack *, struct stack *);
struct frame *duplicate_frame(struct frame *);
struct card *duplicate_card(struct card *);
struct stack *duplicate_stack(struct stack *);
#endif