diff options
author | FreeArtMan <=> | 2015-12-17 20:59:18 +0000 |
---|---|---|
committer | FreeArtMan <=> | 2015-12-17 20:59:18 +0000 |
commit | a61ad1cef9ef77f9afd67230df5470b6b55525be (patch) | |
tree | d8bae5fc932865e769e4965ce0817b6d107badf2 /test | |
download | dm-a61ad1cef9ef77f9afd67230df5470b6b55525be.tar.gz dm-a61ad1cef9ef77f9afd67230df5470b6b55525be.zip |
Initial commit
Diffstat (limited to 'test')
-rw-r--r-- | test/alleatures.dm | 10 | ||||
-rw-r--r-- | test/elf32.bin | 1 | ||||
-rw-r--r-- | test/elf32.md | 13 | ||||
-rw-r--r-- | test/manyifs.md | 12 | ||||
-rw-r--r-- | test/one_byte.dm | 3 | ||||
-rw-r--r-- | test/range.md | 3 | ||||
-rw-r--r-- | test/rangeif.md | 3 | ||||
-rw-r--r-- | test/simpleif.md | 2 | ||||
-rw-r--r-- | test/test.bin | 1 | ||||
-rw-r--r-- | test/two_byte.md | 13 |
10 files changed, 61 insertions, 0 deletions
diff --git a/test/alleatures.dm b/test/alleatures.dm new file mode 100644 index 0000000..ea3bda7 --- /dev/null +++ b/test/alleatures.dm @@ -0,0 +1,10 @@ +0x01-0x2 "Hello" + +0x010 + if (0x01) "One" + if (0x02) "Two" + if (0x03) "Three" + if (0x40) "Forty" +0x0aaa + if (&0x0001) "bit one" + if (&0x0112) "some more bits"
\ No newline at end of file diff --git a/test/elf32.bin b/test/elf32.bin new file mode 100644 index 0000000..1c0b9f2 --- /dev/null +++ b/test/elf32.bin @@ -0,0 +1 @@ +
\ No newline at end of file diff --git a/test/elf32.md b/test/elf32.md new file mode 100644 index 0000000..d5ab688 --- /dev/null +++ b/test/elf32.md @@ -0,0 +1,13 @@ +0x0-0x3 + "magic number" +0x4 + if (0x01) "32 bit elf" + if (0x02) "64 bit elf" +0x5 + if (0x01) "little endian" + if (0x02) "big endian" +0x10 + if (0x1) "relocatable ELF" + if (0x2) "executable ELF" + if (0x3) "shared ELF" + if (0x4) "Core ELF what that"
\ No newline at end of file diff --git a/test/manyifs.md b/test/manyifs.md new file mode 100644 index 0000000..745d5ab --- /dev/null +++ b/test/manyifs.md @@ -0,0 +1,12 @@ +0x01-0x2 "Hello" + +0x010 + if (0x01) "One" + if (0x02) "Two" + if (0x03) "Three" + if (0x40) "Forty" +0x012 + if (0x01) "One" + if (0x02) "Two" + if (0x03) "Three" + if (0x40) "Forty"
\ No newline at end of file diff --git a/test/one_byte.dm b/test/one_byte.dm new file mode 100644 index 0000000..deb59d8 --- /dev/null +++ b/test/one_byte.dm @@ -0,0 +1,3 @@ +0x000001 "first byte" + 0xa10f "second byte" + 3 "third byte"
\ No newline at end of file diff --git a/test/range.md b/test/range.md new file mode 100644 index 0000000..fa0310f --- /dev/null +++ b/test/range.md @@ -0,0 +1,3 @@ +0x1-0x2 "Header" +0x3-0x4 "General info" +0x3-0x5 "Hola"
\ No newline at end of file diff --git a/test/rangeif.md b/test/rangeif.md new file mode 100644 index 0000000..82b03bd --- /dev/null +++ b/test/rangeif.md @@ -0,0 +1,3 @@ +0x1-0x2 if (0x00) "Header" +0x3-0x4 if (0x01) "General info" +0x3-0x5 if (0x02) "Hola"
\ No newline at end of file diff --git a/test/simpleif.md b/test/simpleif.md new file mode 100644 index 0000000..1a617c6 --- /dev/null +++ b/test/simpleif.md @@ -0,0 +1,2 @@ +0x12 if (0x01) "asdinfo" +0x14 if (0x02) "hello"
\ No newline at end of file diff --git a/test/test.bin b/test/test.bin new file mode 100644 index 0000000..8de8f43 --- /dev/null +++ b/test/test.bin @@ -0,0 +1 @@ + diff --git a/test/two_byte.md b/test/two_byte.md new file mode 100644 index 0000000..ad71609 --- /dev/null +++ b/test/two_byte.md @@ -0,0 +1,13 @@ +0x00 "zero byte" +0x01 if ( 0x00 ) + "first byte" +0x0a "second byte" +0x3 "third byte" +0x04 if (0x01) + "array" + +0x2 - 0x3 if ( 0x12 ) +"if array" + +0x2 if ( & 0x12 ) +"if array"
\ No newline at end of file |