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

Add test casee

parent 12062738
......@@ -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()
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