diff options
author | Nicolas Noble <pixel@nobis-crew.org> | 2013-08-07 16:33:02 -0700 |
---|---|---|
committer | Nicolas Noble <pixel@nobis-crew.org> | 2013-08-07 16:33:02 -0700 |
commit | 971f8398516720d8edbdc03db3278b18db20304b (patch) | |
tree | 2673ed99b5d82017174f4b5e8a776d7859dfc60d /tests | |
parent | 3deb696808760b6358807a4a9f936d79276b65f3 (diff) |
Updating Balau and adding tests for readU16 and readU32.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/file.bin | bin | 0 -> 15 bytes | |||
-rw-r--r-- | tests/test2.lua | 4 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/file.bin b/tests/file.bin Binary files differnew file mode 100644 index 0000000..80f1ea8 --- /dev/null +++ b/tests/file.bin diff --git a/tests/test2.lua b/tests/test2.lua index f1cd073..20497bc 100644 --- a/tests/test2.lua +++ b/tests/test2.lua @@ -10,8 +10,10 @@ function test2() collectgarbage() - i = Input.new "tests/test1.lua" + i = Input.new "tests/file.bin" i:open() print(i:readU8()) + print(i:readU16()) + print(i:readU32()) i:destroy() end |