summaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/o1.ostep45
-rw-r--r--test/data/o2.ostep17
-rw-r--r--test/data/o3.ostep16
-rw-r--r--test/data/test.strings12
4 files changed, 90 insertions, 0 deletions
diff --git a/test/data/o1.ostep b/test/data/o1.ostep
new file mode 100644
index 0000000..074406a
--- /dev/null
+++ b/test/data/o1.ostep
@@ -0,0 +1,45 @@
1{
2 "test" = (1,1);
3 foo = (
4 (-1337),
5 (1),
6 (1),
7 (1),
8 (
9 (1),
10 (1),
11 (1),
12 (1),
13 (
14 (1),
15 (1),
16 (1),
17 (1)
18 )
19 )
20 );
21 more = {
22 "a" = "yo";
23 "b" = (
24 {
25 "c" = 0.25;
26 },
27 {
28 "a" = "yo";
29 "b" = (
30 {
31 "c" = 0.25;
32 },
33 {
34 "a" = "yo";
35 "b" = (
36 {
37 "cd" = -0.25;
38 }
39 );
40 }
41 );
42 }
43 );
44 };
45}
diff --git a/test/data/o2.ostep b/test/data/o2.ostep
new file mode 100644
index 0000000..5f5f3c2
--- /dev/null
+++ b/test/data/o2.ostep
@@ -0,0 +1,17 @@
1{
2 "Some ASCII string" = "Test ASCII String";
3 "Some UTF8 strings" = (
4 "àéèçù",
5 "日本語",
6 "汉语/漢語",
7 "한국어/조선말",
8 "русский язык",
9 "الْعَرَبيّة",
10 "עִבְרִית",
11 "język polski",
12 "हिन्दी",
13 );
14 "Keys & \"entities\"" = "hello world & others <nodes> are fun!?'";
15 "Some Int" = 32434543632;
16 "Some String with Unicode entity" = "Yeah check this: \U1234 !!!";
17}
diff --git a/test/data/o3.ostep b/test/data/o3.ostep
new file mode 100644
index 0000000..b80444d
--- /dev/null
+++ b/test/data/o3.ostep
@@ -0,0 +1,16 @@
1(
2 {
3 AFirstKey = "A First Value";
4 ASecondKey = "A Second Value";
5 // this is the last entry
6 },
7 /*{
8 BFirstKey = "B First Value";
9 BSecondKey = "B Second Value";
10 },*/
11 {
12 CFirstKey = "C First Value"; // "C First Unused Value";
13 // now here is another comment
14 CSecondKey = /* "C Second Value";*/ "C Second Corrected Value";
15 }
16)
diff --git a/test/data/test.strings b/test/data/test.strings
new file mode 100644
index 0000000..6d6ee43
--- /dev/null
+++ b/test/data/test.strings
@@ -0,0 +1,12 @@
1STRINGS_ENTRY = "Whatever";
2FOO = "BAR";
3BAR = Foo;
4ENTRY0 = "àéèçù";
5ENTRY1 = "日本語";
6ENTRY2 = "汉语/漢語";
7ENTRY3 = "한국어/조선말";
8ENTRY4 = "русский язык";
9ENTRY5 = "الْعَرَبيّة";
10ENTRY6 = "עִבְרִית";
11ENTRY7 = "język polski";
12ENTRY8 = "हिन्दी";