-
Notifications
You must be signed in to change notification settings - Fork 1
/
full_test_suite.mute
55 lines (47 loc) · 1.57 KB
/
full_test_suite.mute
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
{"<pre>"}
# Start
{"Defaults[unset]: 1 - 1"}{"<br />"}
# Variable
{"<br>"}{"Variables"}{"<br>"}
varnamed[2]{"Variable[named]: @ - 2", varnamed}{"<br>"}
varnamed[2]{"Variable[nmdot]: @ - 2", varnamed.0}{"<br>"}
varnamed[3]{"Variable[nmslf]: @ - 3", $}{"<br>"}
varnamed[hello]{"Variable[strin]: hello - @", varnamed}{"<br>"}
vardeclared[4]
{"Variable[declr]: @ - 4", vardeclared}{"<br>"}
[5]{"Variable[unslf]: @ - 5", $}{"<br>"}
varnamed["hello"]{"Variable[strin]: hello - @", varnamed}{" <span style='color:red'>Failing!</span>"}{"<br>"}
# Conditions
{"<br>"}{"Conditions"}{"<br>"}
(5>0){"Conditio[grter]: TRUE"}{"<br>"}
(0<5){"Conditio[smler]: TRUE"}{"<br>"}
(5=5){"Conditio[equal]: TRUE"}{"<br>"}
(5=5)(5>1){"Conditio[doubl]: TRUE"}{"<br>"}
cond[4,2,3]
{"Conditio[varia]: "}(cond.0>cond.1){"TRUE"}
{"<br>"}
{"Conditio[uself]: "}
[5]($>2){"TRUE"}
{"<br>"}
test[5]($>2){"Conditio[vself]: TRUE"}{"<br>"}
# Arrays
{"<br>"}{"Arrays"}{"<br>"}
list1[1,2,3,4]
list2[first:visible, second:invisible, third:5]
list3[5,6,7][8,9,4]
{"ArrayLst[nrmal]: 1 - @", list1.1}{"<br>"}
{"ArrayLst[ndxin]: 5 - @", list2.third}{"<br>"}
{"ArrayLst[ndxst]: visible - @", list2.first}{"<br>"}
{"ArrayLst[multp]: 5 - @, visible - @", list2.third, list2.first}{"<br>"}
array1[5,6,7,8]
array2[4,5,9,3]
combined[first:array1,second:array1]
returnval[combined.first]
{"ArrayLst[mltid]: 6 - @", returnval.1}{"<br>"}
# Random
a[5~6]{"randomin[btwen]: @ - [5~6]",$}{"<br>"}
[5~10]{"randomin[btund]: @",$}{"<br>"}
# Modules
<test>[25,27]
<system>[logs:on,memory:on]
{"</pre>"}