From dc0ca7c4ca86c03abd980b3e13559cb9e5366187 Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Sat, 10 Apr 2010 13:49:19 -0300 Subject: [PATCH] Debug rather than test on everything. --- debug/{card_test.c => card_debug.c} | 2 +- debug/{card_test.h => card_debug.h} | 4 ++-- debug/{deck_test.c => deck_debug.c} | 2 +- debug/{deck_test.h => deck_debug.h} | 4 ++-- debug/display_test.c | 0 debug/frame_test.c | 0 debug/{stack_test.c => stack_debug.c} | 2 +- debug/{stack_test.h => stack_debug.h} | 4 ++-- 8 files changed, 9 insertions(+), 9 deletions(-) rename debug/{card_test.c => card_debug.c} (98%) rename debug/{card_test.h => card_debug.h} (61%) rename debug/{deck_test.c => deck_debug.c} (95%) rename debug/{deck_test.h => deck_debug.h} (61%) delete mode 100644 debug/display_test.c delete mode 100644 debug/frame_test.c rename debug/{stack_test.c => stack_debug.c} (91%) rename debug/{stack_test.h => stack_debug.h} (61%) diff --git a/debug/card_test.c b/debug/card_debug.c similarity index 98% rename from debug/card_test.c rename to debug/card_debug.c index e1f56a8..bccf750 100644 --- a/debug/card_test.c +++ b/debug/card_debug.c @@ -1,5 +1,5 @@ #include -#include "card_test.h" +#include "card_debug.h" void print_card(struct card *card) { switch (card->face) { diff --git a/debug/card_test.h b/debug/card_debug.h similarity index 61% rename from debug/card_test.h rename to debug/card_debug.h index 38a800b..56edd26 100644 --- a/debug/card_test.h +++ b/debug/card_debug.h @@ -1,5 +1,5 @@ -#ifndef CARD_TEST_H -#define CARD_TEST_H +#ifndef CARD_DEBUG_H +#define CARD_DEBUG_H #include "../lib/card.h" diff --git a/debug/deck_test.c b/debug/deck_debug.c similarity index 95% rename from debug/deck_test.c rename to debug/deck_debug.c index c144735..4a8bca5 100644 --- a/debug/deck_test.c +++ b/debug/deck_debug.c @@ -1,5 +1,5 @@ #include -#include "deck_test.h" +#include "deck_debug.h" void print_deck(struct deck *deck) { print_stack(deck->stock); diff --git a/debug/deck_test.h b/debug/deck_debug.h similarity index 61% rename from debug/deck_test.h rename to debug/deck_debug.h index ab33c4c..57d3584 100644 --- a/debug/deck_test.h +++ b/debug/deck_debug.h @@ -1,5 +1,5 @@ -#ifndef DECK_TEST_H -#define DECK_TEST_H +#ifndef DECK_DEBUG_H +#define DECK_DEBUG_H #include "../lib/deck.h" diff --git a/debug/display_test.c b/debug/display_test.c deleted file mode 100644 index e69de29..0000000 diff --git a/debug/frame_test.c b/debug/frame_test.c deleted file mode 100644 index e69de29..0000000 diff --git a/debug/stack_test.c b/debug/stack_debug.c similarity index 91% rename from debug/stack_test.c rename to debug/stack_debug.c index 593bc42..a53b038 100644 --- a/debug/stack_test.c +++ b/debug/stack_debug.c @@ -1,5 +1,5 @@ #include -#include "stack_test.h" +#include "stack_debug.h" void print_stack(struct stack *stack) { if (empty(stack)) { diff --git a/debug/stack_test.h b/debug/stack_debug.h similarity index 61% rename from debug/stack_test.h rename to debug/stack_debug.h index e1902da..55ffb6c 100644 --- a/debug/stack_test.h +++ b/debug/stack_debug.h @@ -1,5 +1,5 @@ -#ifndef STACK_TEST_H -#define STACK_TEST_H +#ifndef STACK_DEBUG_H +#define STACK_DEBUG_H #include "../lib/stack.h"