From 971f8398516720d8edbdc03db3278b18db20304b Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Wed, 7 Aug 2013 16:33:02 -0700 Subject: Updating Balau and adding tests for readU16 and readU32. --- Balau | 2 +- tests/file.bin | Bin 0 -> 15 bytes tests/test2.lua | 4 +++- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 tests/file.bin diff --git a/Balau b/Balau index 7f841bd..df00882 160000 --- a/Balau +++ b/Balau @@ -1 +1 @@ -Subproject commit 7f841bd54b8628420b4bec129fae86472b5dc565 +Subproject commit df00882195da3fb970782f21d79a0a10e6b186b3 diff --git a/tests/file.bin b/tests/file.bin new file mode 100644 index 0000000..80f1ea8 Binary files /dev/null and b/tests/file.bin 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 -- cgit v1.2.3