Commit d95d7448 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add parser-specific tests

parent cfbcf96f
#!/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()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment