| Line | |
|---|
| 1 | ! --- Syntax Tests ---
|
|---|
| 2 | # Test comment
|
|---|
| 3 |
|
|---|
| 4 | test1=hi
|
|---|
| 5 |
|
|---|
| 6 | [TestA]
|
|---|
| 7 | test2=lol hi
|
|---|
| 8 | test3=this is test2
|
|---|
| 9 | test4=
|
|---|
| 10 | test5=sup
|
|---|
| 11 |
|
|---|
| 12 | !This is test B
|
|---|
| 13 | [Test B]
|
|---|
| 14 | test6=test B is awesome
|
|---|
| 15 |
|
|---|
| 16 | ! --- Parsing Tests ---
|
|---|
| 17 |
|
|---|
| 18 | IntTest=0x00000001
|
|---|
| 19 | IntTest=0x00000010
|
|---|
| 20 | IntTest=0xA
|
|---|
| 21 | IntTest=0xFFFFFFFF
|
|---|
| 22 | IntTest=102
|
|---|
| 23 | SIntTest=-3456
|
|---|
| 24 | IntTest=4294967295
|
|---|
| 25 | SIntTest=2147483647
|
|---|
| 26 | SIntTest=-2147483648
|
|---|
| 27 |
|
|---|
| 28 | # These tests are supposed to return an error (0x100000000)
|
|---|
| 29 | IntTest=0xEFG
|
|---|
| 30 | IntTest=0x123456789
|
|---|
| 31 | IntTest=0x
|
|---|
| 32 | IntTest=4294967296
|
|---|
| 33 | SIntTest=2147483648
|
|---|
| 34 | SIntTest=-2147483649
|
|---|
| 35 | IntTest=4294967297
|
|---|
| 36 | SIntTest=2147483649
|
|---|
| 37 | SIntTest=-2147483650
|
|---|
| 38 |
|
|---|
| 39 | CleanTest= True
|
|---|
| 40 | CleanTest= False
|
|---|
| 41 | CleanTest=True True
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.