summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Noble <pixel@nobis-crew.org>2013-08-07 16:33:02 -0700
committerNicolas Noble <pixel@nobis-crew.org>2013-08-07 16:33:02 -0700
commit971f8398516720d8edbdc03db3278b18db20304b (patch)
tree2673ed99b5d82017174f4b5e8a776d7859dfc60d
parent3deb696808760b6358807a4a9f936d79276b65f3 (diff)
Updating Balau and adding tests for readU16 and readU32.
m---------Balau0
-rw-r--r--tests/file.binbin0 -> 15 bytes
-rw-r--r--tests/test2.lua4
3 files changed, 3 insertions, 1 deletions
diff --git a/Balau b/Balau
-Subproject 7f841bd54b8628420b4bec129fae86472b5dc56
+Subproject df00882195da3fb970782f21d79a0a10e6b186b
diff --git a/tests/file.bin b/tests/file.bin
new file mode 100644
index 0000000..80f1ea8
--- /dev/null
+++ b/tests/file.bin
Binary files differ
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