summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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