From 54b9e00caa99bd1ee7dc07813468689923a84a8b Mon Sep 17 00:00:00 2001 From: Shine wOng <1551885@tongji.edu.cn> Date: Sat, 25 May 2019 18:18:51 +0800 Subject: [PATCH] modify the implementation of stack due to previous dependency changes --- thu_dsa/chp4/stackApp.cpp | 1 - thu_dsa/chp4/testQueue.cpp | 2 +- thu_dsa/chp4/testStack.cpp | 3 +-- thu_dsa/chp4/testStackApp.cpp | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/thu_dsa/chp4/stackApp.cpp b/thu_dsa/chp4/stackApp.cpp index 61e3864..0b8813f 100644 --- a/thu_dsa/chp4/stackApp.cpp +++ b/thu_dsa/chp4/stackApp.cpp @@ -1,4 +1,3 @@ -#include "../chp2/Fib.h" #include "stackApp.h" #include #include diff --git a/thu_dsa/chp4/testQueue.cpp b/thu_dsa/chp4/testQueue.cpp index 67d2a77..528bb15 100644 --- a/thu_dsa/chp4/testQueue.cpp +++ b/thu_dsa/chp4/testQueue.cpp @@ -9,7 +9,7 @@ void test_constructor(); void test_enqueue(); void test_dequeue(); -int main(){ +int test_queue_main(){ clock_t begin = clock(); cout << "Running tests." << endl; diff --git a/thu_dsa/chp4/testStack.cpp b/thu_dsa/chp4/testStack.cpp index ffd3f9e..3fc00d7 100644 --- a/thu_dsa/chp4/testStack.cpp +++ b/thu_dsa/chp4/testStack.cpp @@ -1,4 +1,3 @@ -#include "../chp2/Fib.h" #include "Stack.h" #include "time.h" #include @@ -9,7 +8,7 @@ void test_basic(); void test_capacity(); -int stack_test_main(){ +int test_stack_main(){ test_basic(); test_capacity(); diff --git a/thu_dsa/chp4/testStackApp.cpp b/thu_dsa/chp4/testStackApp.cpp index c408dcd..79fd385 100644 --- a/thu_dsa/chp4/testStackApp.cpp +++ b/thu_dsa/chp4/testStackApp.cpp @@ -1,4 +1,3 @@ -#include "../chp2/Fib.h" #include "stackApp.h" #include #include