Branch
Hash :
355a0238
Author :
Date :
2005-08-22T12:58:05
added the first regression test suite set for the new expression support * Makefile.am result/expr/base test/expr/base: added the first regression test suite set for the new expression support Daniel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
=>a
1 a
1 a | a
0 b
=>a|b
1 a
1 b
1 a | b
0 a{0}
0 b{0}
=>a | b | a
1 a
1 b
1 a | b
1 b | a
1 a | b | b
1 a | b | a
1 b | a | b
=>a,a
1 a,a
0 a
0 a,a,a
=>a{0,3}
1 a{3}
1 a
1 a,a,a
1 a{1,3}
=>(a|b){0,4}
1 a
1 b
1 a,b
1 a,b,a,b
0 b,a,b,a,b
1 b,a{1,3}
1 a{1,3},b
0 a{1,3},b,a
0 a{1,4},b
0 a{0,5}
1 (b|a){0,4}
0 (b|a){0,4},a
1 (a,b){0,2}
1 (a,b){0,1},b
=> a*
1 a
1 a?
1 a+
1 a*
1 a{0}
=> a+
1 a
0 a?
1 a+
0 a*
1 a?,a
1 a,a*
1 a*,a
1 a?,a*,a
1 a*,a?,a
=>(a|b)*
1 a
1 b
1 a,b
1 a,b,a,b
1 (b|a){0,4}
1 (b|a){0,4},a
1 a*
1 b*
1 (a|b)*
1 a{1,3}
1 b,a{1,3}
1 a{1,3},b
1 a*,(a|b)*
1 a*,b{2,5}
1 a*,(a|b)*,b{2,5}
=>(a|b)+,(c|d)
1 a+,c
0 a*,c
1 a,c
1 a,b*,a*,c
# more complex
=>(a|b),(a|c){0,100}
1 a{0,100},(a|c)
0 a{0,101},(a|c)
# the example from cmsmcq at extreme markup 05
=>(a, ((b, c, d){0,5}, e{0,1}){0,4}, f)
1 (a, b, (c, d, b){2,3}, c, d, e, f)