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
d95d7448
Commit
d95d7448
authored
May 17, 2016
by
Maxime Perrotin
Browse files
Add parser-specific tests
parent
cfbcf96f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/parser/aggreg.py
0 → 100755
View file @
d95d7448
#!/usr/bin/env python
import
opengeode
y
=
opengeode
.
ogParser
.
parser_init
(
string
=
'''state ENTRYA;
substructure
procedure entry EXTERNAL;
endsubstructure ENTRYA;'''
)
y
.
composite_state_body
()
z
=
opengeode
.
ogParser
.
parser_init
(
string
=
'''state CHECKING;
substructure
state ENTRYA;
substructure
procedure entry EXTERNAL;
endsubstructure ENTRYA;
endsubstructure CHECKING;
'''
)
z
.
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