From c42402df6b0b5aa89b44d47e7bc7c29b3a553ac3 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Wed, 25 Dec 2019 21:57:03 +0100 Subject: [PATCH] test unit built in grammar convert --- alib2algo/src/grammar/convert/Convert.cpp | 6 ++++++ .../grammar/convert/{ToAutomaton.cpp => ToAutomaton.cxx} | 0 .../{ToAutomatonBottomUp.cpp => ToAutomatonBottomUp.cxx} | 0 .../convert/{ToGrammarLeftRG.cpp => ToGrammarLeftRG.cxx} | 0 .../convert/{ToGrammarRightRG.cpp => ToGrammarRightRG.cxx} | 0 .../src/grammar/convert/{ToRegExp.cpp => ToRegExp.cxx} | 0 .../{ToRegExpAlgebraic.cpp => ToRegExpAlgebraic.cxx} | 0 7 files changed, 6 insertions(+) create mode 100644 alib2algo/src/grammar/convert/Convert.cpp rename alib2algo/src/grammar/convert/{ToAutomaton.cpp => ToAutomaton.cxx} (100%) rename alib2algo/src/grammar/convert/{ToAutomatonBottomUp.cpp => ToAutomatonBottomUp.cxx} (100%) rename alib2algo/src/grammar/convert/{ToGrammarLeftRG.cpp => ToGrammarLeftRG.cxx} (100%) rename alib2algo/src/grammar/convert/{ToGrammarRightRG.cpp => ToGrammarRightRG.cxx} (100%) rename alib2algo/src/grammar/convert/{ToRegExp.cpp => ToRegExp.cxx} (100%) rename alib2algo/src/grammar/convert/{ToRegExpAlgebraic.cpp => ToRegExpAlgebraic.cxx} (100%) diff --git a/alib2algo/src/grammar/convert/Convert.cpp b/alib2algo/src/grammar/convert/Convert.cpp new file mode 100644 index 0000000000..4123aa6efa --- /dev/null +++ b/alib2algo/src/grammar/convert/Convert.cpp @@ -0,0 +1,6 @@ +#include "ToAutomaton.cxx" +#include "ToAutomatonBottomUp.cxx" +#include "ToGrammarLeftRG.cxx" +#include "ToGrammarRightRG.cxx" +#include "ToRegExp.cxx" +#include "ToRegExpAlgebraic.cxx" diff --git a/alib2algo/src/grammar/convert/ToAutomaton.cpp b/alib2algo/src/grammar/convert/ToAutomaton.cxx similarity index 100% rename from alib2algo/src/grammar/convert/ToAutomaton.cpp rename to alib2algo/src/grammar/convert/ToAutomaton.cxx diff --git a/alib2algo/src/grammar/convert/ToAutomatonBottomUp.cpp b/alib2algo/src/grammar/convert/ToAutomatonBottomUp.cxx similarity index 100% rename from alib2algo/src/grammar/convert/ToAutomatonBottomUp.cpp rename to alib2algo/src/grammar/convert/ToAutomatonBottomUp.cxx diff --git a/alib2algo/src/grammar/convert/ToGrammarLeftRG.cpp b/alib2algo/src/grammar/convert/ToGrammarLeftRG.cxx similarity index 100% rename from alib2algo/src/grammar/convert/ToGrammarLeftRG.cpp rename to alib2algo/src/grammar/convert/ToGrammarLeftRG.cxx diff --git a/alib2algo/src/grammar/convert/ToGrammarRightRG.cpp b/alib2algo/src/grammar/convert/ToGrammarRightRG.cxx similarity index 100% rename from alib2algo/src/grammar/convert/ToGrammarRightRG.cpp rename to alib2algo/src/grammar/convert/ToGrammarRightRG.cxx diff --git a/alib2algo/src/grammar/convert/ToRegExp.cpp b/alib2algo/src/grammar/convert/ToRegExp.cxx similarity index 100% rename from alib2algo/src/grammar/convert/ToRegExp.cpp rename to alib2algo/src/grammar/convert/ToRegExp.cxx diff --git a/alib2algo/src/grammar/convert/ToRegExpAlgebraic.cpp b/alib2algo/src/grammar/convert/ToRegExpAlgebraic.cxx similarity index 100% rename from alib2algo/src/grammar/convert/ToRegExpAlgebraic.cpp rename to alib2algo/src/grammar/convert/ToRegExpAlgebraic.cxx -- GitLab