Commit 8aed40c4 authored by Lev Walkin's avatar Lev Walkin

verify value range constraints for OER

parent 01582a71
-- OK: Everything is fine
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
-- .spelio.software.asn1c.test (9363.1.5.1)
-- .138
ModuleOERConstraints
{ iso org(3) dod(6) internet (1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 138 }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
A-noc ::= INTEGER -- No constraints
B-vis ::= INTEGER (0) -- Value constraint
C-vis ::= INTEGER (-1..1) -- Value range constraint
D-inv ::= INTEGER (0..10,...) -- Extensible, not OER-visible
E-vis ::= INTEGER (0..10,...)(2..5) -- OER-visible constraint 2..5
F-inv ::= INTEGER (0..10,...)(2..5,...) -- Not OER-visible
G-vis ::= INTEGER (0..10,...)(2..5,...)(3) -- OER-visible constraint 3
END
This diff is collapsed.
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