refactor
This commit is contained in:
parent
087f132a32
commit
d305ed01ac
@ -1,7 +1,7 @@
|
||||
#ifndef DTL_EXAMPLE_COMMON_H
|
||||
#define DTL_EXAMPLE_COMMON_H
|
||||
|
||||
#include "dtl.hpp"
|
||||
#include "dtl/dtl.hpp"
|
||||
|
||||
bool isFileExist(std::string &fs);
|
||||
bool isFewArgs(int argc, int limit = 3);
|
||||
|
@ -38,11 +38,10 @@
|
||||
#ifndef DTL_DIFF_H
|
||||
#define DTL_DIFF_H
|
||||
|
||||
#include "variables.hpp"
|
||||
|
||||
#include "Lcs.hpp"
|
||||
#include "Ses.hpp"
|
||||
#include "functors.hpp"
|
||||
#include "dtl/Lcs.hpp"
|
||||
#include "dtl/Ses.hpp"
|
||||
#include "dtl/functors.hpp"
|
||||
#include "dtl/variables.hpp"
|
||||
|
||||
namespace dtl {
|
||||
|
@ -38,7 +38,7 @@
|
||||
#ifndef DTL_DIFF3_H
|
||||
#define DTL_DIFF3_H
|
||||
|
||||
#include "Diff.hpp"
|
||||
#include "dtl/Diff.hpp"
|
||||
|
||||
namespace dtl {
|
||||
|
@ -38,8 +38,8 @@
|
||||
#ifndef DTL_LCS_H
|
||||
#define DTL_LCS_H
|
||||
|
||||
#include "variables.hpp"
|
||||
#include "Sequence.hpp"
|
||||
#include "dtl/variables.hpp"
|
||||
#include "dtl/Sequence.hpp"
|
||||
|
||||
namespace dtl {
|
||||
|
@ -38,8 +38,8 @@
|
||||
#ifndef DTL_SES_H
|
||||
#define DTL_SES_H
|
||||
|
||||
#include "variables.hpp"
|
||||
#include "Sequence.hpp"
|
||||
#include "dtl/variables.hpp"
|
||||
#include "dtl/Sequence.hpp"
|
||||
|
||||
namespace dtl {
|
||||
|
@ -54,12 +54,12 @@
|
||||
#include <unistd.h>
|
||||
#endif // HAVE_UNISTD_H
|
||||
|
||||
#include "Diff.hpp"
|
||||
#include "Diff3.hpp"
|
||||
#include "Lcs.hpp"
|
||||
#include "Sequence.hpp"
|
||||
#include "Ses.hpp"
|
||||
#include "functors.hpp"
|
||||
#include "variables.hpp"
|
||||
#include "dtl/Diff.hpp"
|
||||
#include "dtl/Diff3.hpp"
|
||||
#include "dtl/Lcs.hpp"
|
||||
#include "dtl/Sequence.hpp"
|
||||
#include "dtl/Ses.hpp"
|
||||
#include "dtl/functors.hpp"
|
||||
#include "dtl/variables.hpp"
|
||||
|
||||
#endif // DTL_H
|
@ -38,7 +38,7 @@
|
||||
#ifndef DTL_FUNCTORS_H
|
||||
#define DTL_FUNCTORS_H
|
||||
|
||||
#include "variables.hpp"
|
||||
#include "dtl/variables.hpp"
|
||||
|
||||
namespace dtl {
|
||||
|
@ -1,7 +1,5 @@
|
||||
#include "dtl_test_common.hpp"
|
||||
|
||||
#include "comparators.hpp"
|
||||
|
||||
class Objdifftest : public ::testing::Test {
|
||||
protected:
|
||||
dtl_test_typedefs(string, vector<elem>) typedef struct case_t {
|
||||
|
@ -1,7 +1,5 @@
|
||||
#include "dtl_test_common.hpp"
|
||||
|
||||
#include "comparators.hpp"
|
||||
|
||||
class Strdiff3test : public ::testing::Test {
|
||||
protected:
|
||||
dtl_test_typedefs(char, string) typedef struct case_t {
|
||||
|
@ -1,7 +1,5 @@
|
||||
#include "dtl_test_common.hpp"
|
||||
|
||||
#include "comparators.hpp"
|
||||
|
||||
class Strdifftest : public ::testing::Test {
|
||||
protected:
|
||||
dtl_test_typedefs(char, string) typedef struct case_t {
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef DTL_COMPARATORS
|
||||
#define DTL_COMPARATORS
|
||||
|
||||
#include "functors.hpp"
|
||||
#include "dtl/functors.hpp"
|
||||
|
||||
class CaseInsensitive : public dtl::Compare<char> {
|
||||
public:
|
||||
|
@ -3,7 +3,9 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "dtl.hpp"
|
||||
#include "dtl/dtl.hpp"
|
||||
|
||||
#include "comparators.hpp"
|
||||
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user