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. --- tests/file.bin | Bin 0 -> 15 bytes tests/test2.lua | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 tests/file.bin (limited to 'tests') 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