Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LO21_Pin_Noir_Boucher_Bouri_Detree
CellulutLO21
Commits
ed9c113c
Unverified
Commit
ed9c113c
authored
May 22, 2021
by
Merwane Bouri
Browse files
Correction bug compilation
parent
6e2e99f3
Pipeline
#78340
passed with stages
in 17 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
include/transitionrule.hpp
View file @
ed9c113c
...
...
@@ -20,8 +20,8 @@ private:
public:
TransitionRule
()
;
virtual
~
TransitionRule
()
;
TransitionRule
()
{}
virtual
~
TransitionRule
()
{}
//! \brief Vérifie que les formats de voisinage proposés sont compatibles
//! \param Vector des NeighborhoodFormat à vérifier
...
...
src/interface.cpp
View file @
ed9c113c
...
...
@@ -4,6 +4,8 @@
#include
"structuresavingdialog.hpp"
#include
"structurewriter.hpp"
#include
<QDate>
#include
<QTextStream>
MainWindow
::
MainWindow
(
QWidget
*
parent
)
:
QMainWindow
(
parent
)
...
...
src/src.pro
View file @
ed9c113c
...
...
@@ -26,12 +26,11 @@ SOURCES += \
interface
.
cpp
\
grid
.
cpp
\
history
.
cpp
\
lifegametransition
.
h
\
vonNeumannNeighborhoodRule
.
cpp
\
structurewriter
.
cpp
\
structuresavingdialog
.
cpp
\
structurelibraryview
.
cpp
\
transitionrule
.
hpp
structurelibraryview
.
cpp
HEADERS
+=
\
..
/
include
/
automaton
.
hpp
\
...
...
@@ -57,7 +56,7 @@ HEADERS += \
..
/
include
/
history
.
h
\
..
/
include
/
structuresavingdialog
.
hpp
\
..
/
include
/
structurelibraryview
.
hpp
\
..
/
include
/
lifegame
transition
.
c
pp
..
/
include
/
transition
rule
.
h
pp
FORMS
+=
\
..
/
forms
/
interface
.
ui
\
...
...
@@ -77,5 +76,5 @@ CONFIG(debug, debug|release) {
}
#
On
copie
les
fichiers
de
pattern
vers
le
dossier
d
'
exécution
message
(
$$
system
(
$$
QMAKE_COPY_DIR
$$
shell_quote
(
$$
PWD
/../
patterns
)
$$
shell_quote
(
$$
OUT_PWD
/
$$
DEBUG_OR_RELEASE
/
patterns
)))
message
(
$$
system
(
$$
QMAKE_COPY_DIR
$$
shell_quote
(
$$
PWD
/../
patterns
)
$$
shell_quote
(
$$
OUT_PWD
/
patterns
)))
#
message
(
$$
system
(
$$
QMAKE_COPY_DIR
$$
shell_quote
(
$$
PWD
/../
patterns
)
$$
shell_quote
(
$$
OUT_PWD
/
$$
DEBUG_OR_RELEASE
/
patterns
)))
#
message
(
$$
system
(
$$
QMAKE_COPY_DIR
$$
shell_quote
(
$$
PWD
/../
patterns
)
$$
shell_quote
(
$$
OUT_PWD
/
patterns
)))
tests/alphabet_test.cpp
0 → 100644
View file @
ed9c113c
#include
<QtTest/QtTest>
#include
<algorithm>
#include
"cellulut_tests.hpp"
#include
"alphabet.hpp"
void
CellulutTests
::
test_alphabet
(){
}
tests/cellulut_tests.hpp
View file @
ed9c113c
...
...
@@ -24,6 +24,8 @@ private slots:
void
test_arbitrary_neighborhood_rule
();
void
test_alphabet
();
};
...
...
tests/tests.pro
View file @
ed9c113c
...
...
@@ -22,6 +22,7 @@ SOURCES += \
..
/
src
/
history
.
cpp
\
..
/
src
/
grid
.
cpp
\
..
/
src
/
mooreNeighborhoodRule
.
cpp
\
alphabet_test
.
cpp
\
arbitraryneighborhoodrule_test
.
cpp
\
coord_tests
.
cpp
\
factory_tests
.
cpp
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment