aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/Constraints.py
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-11-20 12:42:31 +0100
committerBjörn Gustavsson <[email protected]>2013-11-20 12:42:31 +0100
commit7d2867c58b5a8232284e3b168a5f17822bd51283 (patch)
tree9b1de696406d609030bc20893480f86c6c929675 /lib/asn1/test/asn1_SUITE_data/Constraints.py
parentd000febfc34375748494fe64ad25f0bd42fdc3f8 (diff)
parentcf9d62c7c902b06dc589382a0a853b87b0a1ce20 (diff)
downloadotp-7d2867c58b5a8232284e3b168a5f17822bd51283.tar.gz
otp-7d2867c58b5a8232284e3b168a5f17822bd51283.tar.bz2
otp-7d2867c58b5a8232284e3b168a5f17822bd51283.zip
Merge branch 'maint'
* maint: Fix complicated union of INTEGER constraints
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/Constraints.py')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/Constraints.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/Constraints.py b/lib/asn1/test/asn1_SUITE_data/Constraints.py
index 581ec2f467..864a471b88 100644
--- a/lib/asn1/test/asn1_SUITE_data/Constraints.py
+++ b/lib/asn1/test/asn1_SUITE_data/Constraints.py
@@ -99,4 +99,44 @@ pdf OBJECT IDENTIFIER ::= {1,2,3,4,5}
ShorterExt ::= IA5String (SIZE (5, ...))
+SeqOverlapping ::= SEQUENCE {
+ v Overlapping
+}
+
+SeqNonOverlapping ::= SEQUENCE {
+ v NonOverlapping
+}
+
+Overlapping ::= INTEGER (7280..7560 |
+7580..7680 |
+7910..8210 |
+8600..8940 |
+9250..9600 |
+14759..15109 |
+15250..15590 |
+18050..18800 |
+19300..19950 |
+21100..21700 |
+26200..26900 |
+18500..19900 |
+20100..20250 |
+21100..21700 |
+23000..24000 |
+24960..26900)
+
+-- The same intervals, but merged and sorted --
+NonOverlapping ::= INTEGER (7280..7560 |
+7580..7680 |
+7910..8210 |
+8600..8940 |
+9250..9600 |
+14759..15109 |
+15250..15590 |
+18050..19950 |
+20100..20250 |
+21100..21700 |
+23000..24000 |
+24960..26900)
+
+
END