Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
a0029596
Commit
a0029596
authored
May 18, 2016
by
Maxime Perrotin
Browse files
Add test casee
parent
12062738
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/parser/aggreg.py
View file @
a0029596
...
...
@@ -49,4 +49,20 @@ test=opengeode.ogParser.parser_init(string=
test
.
composite_state_body
()
print
(
'from rm - reports that start must be before state:'
)
test
=
opengeode
.
ogParser
.
parser_init
(
string
=
'''
STATE AGGREGATION DemoDeviceDACPStates;
SUBSTRUCTURE
STATE INTERNAL_MAPPINGS;
SUBSTRUCTURE
STATE STATELESS;
ENDSTATE STATELESS;
START;
NEXTSTATE STATELESS;
ENDSUBSTRUCTURE INTERNAL_MAPPINGS;
ENDSUBSTRUCTURE DemoDeviceDACPStates;
'''
)
test
.
composite_state
()
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