This commit is contained in:
Scott E. Graves 2024-06-03 10:05:35 -05:00
parent 087f132a32
commit d305ed01ac
14 changed files with 22 additions and 27 deletions

View File

@ -1,7 +1,7 @@
#ifndef DTL_EXAMPLE_COMMON_H #ifndef DTL_EXAMPLE_COMMON_H
#define DTL_EXAMPLE_COMMON_H #define DTL_EXAMPLE_COMMON_H
#include "dtl.hpp" #include "dtl/dtl.hpp"
bool isFileExist(std::string &fs); bool isFileExist(std::string &fs);
bool isFewArgs(int argc, int limit = 3); bool isFewArgs(int argc, int limit = 3);

View File

@ -38,11 +38,10 @@
#ifndef DTL_DIFF_H #ifndef DTL_DIFF_H
#define DTL_DIFF_H #define DTL_DIFF_H
#include "variables.hpp" #include "dtl/Lcs.hpp"
#include "dtl/Ses.hpp"
#include "Lcs.hpp" #include "dtl/functors.hpp"
#include "Ses.hpp" #include "dtl/variables.hpp"
#include "functors.hpp"
namespace dtl { namespace dtl {

View File

@ -38,7 +38,7 @@
#ifndef DTL_DIFF3_H #ifndef DTL_DIFF3_H
#define DTL_DIFF3_H #define DTL_DIFF3_H
#include "Diff.hpp" #include "dtl/Diff.hpp"
namespace dtl { namespace dtl {

View File

@ -38,8 +38,8 @@
#ifndef DTL_LCS_H #ifndef DTL_LCS_H
#define DTL_LCS_H #define DTL_LCS_H
#include "variables.hpp" #include "dtl/variables.hpp"
#include "Sequence.hpp" #include "dtl/Sequence.hpp"
namespace dtl { namespace dtl {

View File

@ -38,8 +38,8 @@
#ifndef DTL_SES_H #ifndef DTL_SES_H
#define DTL_SES_H #define DTL_SES_H
#include "variables.hpp" #include "dtl/variables.hpp"
#include "Sequence.hpp" #include "dtl/Sequence.hpp"
namespace dtl { namespace dtl {

View File

@ -54,12 +54,12 @@
#include <unistd.h> #include <unistd.h>
#endif // HAVE_UNISTD_H #endif // HAVE_UNISTD_H
#include "Diff.hpp" #include "dtl/Diff.hpp"
#include "Diff3.hpp" #include "dtl/Diff3.hpp"
#include "Lcs.hpp" #include "dtl/Lcs.hpp"
#include "Sequence.hpp" #include "dtl/Sequence.hpp"
#include "Ses.hpp" #include "dtl/Ses.hpp"
#include "functors.hpp" #include "dtl/functors.hpp"
#include "variables.hpp" #include "dtl/variables.hpp"
#endif // DTL_H #endif // DTL_H

View File

@ -38,7 +38,7 @@
#ifndef DTL_FUNCTORS_H #ifndef DTL_FUNCTORS_H
#define DTL_FUNCTORS_H #define DTL_FUNCTORS_H
#include "variables.hpp" #include "dtl/variables.hpp"
namespace dtl { namespace dtl {

View File

@ -1,7 +1,5 @@
#include "dtl_test_common.hpp" #include "dtl_test_common.hpp"
#include "comparators.hpp"
class Objdifftest : public ::testing::Test { class Objdifftest : public ::testing::Test {
protected: protected:
dtl_test_typedefs(string, vector<elem>) typedef struct case_t { dtl_test_typedefs(string, vector<elem>) typedef struct case_t {

View File

@ -1,7 +1,5 @@
#include "dtl_test_common.hpp" #include "dtl_test_common.hpp"
#include "comparators.hpp"
class Strdiff3test : public ::testing::Test { class Strdiff3test : public ::testing::Test {
protected: protected:
dtl_test_typedefs(char, string) typedef struct case_t { dtl_test_typedefs(char, string) typedef struct case_t {

View File

@ -1,7 +1,5 @@
#include "dtl_test_common.hpp" #include "dtl_test_common.hpp"
#include "comparators.hpp"
class Strdifftest : public ::testing::Test { class Strdifftest : public ::testing::Test {
protected: protected:
dtl_test_typedefs(char, string) typedef struct case_t { dtl_test_typedefs(char, string) typedef struct case_t {

View File

@ -1,7 +1,7 @@
#ifndef DTL_COMPARATORS #ifndef DTL_COMPARATORS
#define DTL_COMPARATORS #define DTL_COMPARATORS
#include "functors.hpp" #include "dtl/functors.hpp"
class CaseInsensitive : public dtl::Compare<char> { class CaseInsensitive : public dtl::Compare<char> {
public: public:

View File

@ -3,7 +3,9 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "dtl.hpp" #include "dtl/dtl.hpp"
#include "comparators.hpp"
using std::cerr; using std::cerr;
using std::endl; using std::endl;