Commit 64c78459 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add 'expected' file in testcase

parent 9be97025
......@@ -19,7 +19,11 @@ SeqDef ::= SEQUENCE {
d SEQUENCE { thanassis BOOLEAN } DEFAULT { thanassis TRUE }
}
--SeqPresent ::= Seq (WITH COMPONENTS {a PRESENT})
--SeqAbsent ::= Seq (WITH COMPONENTS {a ABSENT})
SomeSeq ::= SEQUENCE { thanassis BOOLEAN }
some-constant SomeSeq ::= { thanassis TRUE }
SeqPresent ::= Seq (WITH COMPONENTS {a PRESENT})
SeqAbsent ::= Seq (WITH COMPONENTS {a ABSENT})
END
......@@ -11,7 +11,7 @@ test-parse:
test-ada:
$(OPENGEODE) og.pr --toAda
mono $(ASN1SCC) -Ada -typePrefix asn1Scc -equal dataview-uniq.asn
gnat make test_ada.ada && ./test_ada
gnat make test_ada.ada && ./test_ada | diff expected -
test-c:
$(OPENGEODE) og.pr --toC
......
Entering state with FALSE 2 (should be FALSE 2)
Value should be the same: FALSE 2
Value should be (FALSE 4) : FALSE 4
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