-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTamaGUNchi crazy tests.txt
69 lines (49 loc) · 1.52 KB
/
TamaGUNchi crazy tests.txt
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
::test
[[test des silently pour la macro du gars]]
[[test2]]
:: test2
[[test3]]
:: test3
::test de display silently
<<set $c = 0>>
Un silently dans un display: <<display "test display avec silently">> (1). (should be one line)
<<set $goto = "test display avec silently">>
<<set $c = 0>>
Un display avec une variable: <<display $goto>> (1). (should be one line)
:: test display avec silently
<<silently>>
<<set $c = $c +1>>
<<endsilently>><<print $c>>
::test des silently pour la macro du gars
<<set $c = 1>>
Now the value of $c is <<print $c>> (1).
Test single level silently: <<silently>>
<<if $c = 1>
<<set $c = $c + 1>>
<<else>>
This should not display,
<<endif>>
This should not display2
<<endsilently>>Now the value of $c is <<print $c>> (2). (Should be one line)
Test 2-level nested silently: <<silently>><<silently>>
<<set $c = $c + 1>>
<<endsilently>>
<<if $c = 3>>
<<set $c = $c + 1>>
<<else>>
This should not display,
<<endif>>
This should not display1 - after first endsilently
This should not display1 - after first endsilently
This should not display1 - after first endsilently
<<endsilently>> Now the value of $c is <<print $c>> (4). (Should be one line)
Let's go a bit nuts with the levels (.(.)(((.))(.))): <<silently>>
<<set $c = $c + 1>>
<<silently>><<set $c = $c + 1>><<endsilently>>
<<silently>><<silently>><<silently>>
<<set $c = $c + 1>>
<<endsilently>><<endsilently>>
<<silently>>
<<set $c = $c + 1>>
<<endsilently>><<endsilently>>
<<endsilently>> Now the value of $c is <<print $c>> (8). (Should be one line)