summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/luv/tests/test-conversions.lua
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/luv/tests/test-conversions.lua')
-rw-r--r--3rdparty/luv/tests/test-conversions.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/3rdparty/luv/tests/test-conversions.lua b/3rdparty/luv/tests/test-conversions.lua
new file mode 100644
index 00000000000..f14056ddfb5
--- /dev/null
+++ b/3rdparty/luv/tests/test-conversions.lua
@@ -0,0 +1,6 @@
+return require('lib/tap')(function (test)
+ test("basic 64bit conversions", function (print, p, expect, uv)
+ assert(string.format("%x", 29913653248) == "6f6fe2000")
+ assert(string.format("%x", 32207650816) == "77fb9c000")
+ end)
+end)