02_test_components.ini 469 Bytes
Newer Older
eckhart's avatar
eckhart committed
1
[match:group]
2
M1: "(2 + x)"
eckhart's avatar
eckhart committed
3
4
5
6
7
8
9
10
11
12
13
M2: "(3)"

[fail:group]
F1: "22"
F2: "y"


[match:factor]
M1: "-2"
M2: "-2.71828"
M3: "-x"
14
M4: "(2 + x)"
eckhart's avatar
eckhart committed
15
M5: "-(a * b)"
16
17
M6: "4x"
M7: "-2x"
eckhart's avatar
eckhart committed
18
19
20
21
22
23
24
25
26
27
28
29

[fail:factor]
F1: "+22"
F2: "x4"
F3: "- 2"


[match:term]
M1: "2 * 4"
M2: "3x"
M3: "5 / 2"
M4: "5 / 2x"
30
31
M5: "5 / -2x"
M6: "-3*2y"
eckhart's avatar
eckhart committed
32
33
34
35
36
37
38

[fail:term]
F1: "2 + 4"
F2: "4 - 5"

[match:expression]
M1: "3 + x"
39
40
41
M2: "-5 - -4x"
M3: "(a + b)(a - b)"
M4: "a - 5 + b"
eckhart's avatar
eckhart committed
42
43
44
45

[fail:expression]
F1: "-5 - - 4x"
F2: "-5 - +4x"