From 54b0f2ea841d2ce3895713415481271aa3034b30 Mon Sep 17 00:00:00 2001 From: nea Date: Tue, 15 Aug 2023 20:24:01 +0200 Subject: Add support for hex literals --- test/res/test.lisp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/res/test.lisp') diff --git a/test/res/test.lisp b/test/res/test.lisp index b5a9f65..39c6d82 100644 --- a/test/res/test.lisp +++ b/test/res/test.lisp @@ -30,3 +30,9 @@ ((test.assert-eq (hash.get funnyhash :tesst3) nil)) )) +(test.test "Hex literals" (seq + ((test.assert-eqd 0x0 0 0.0001)) + ((test.assert-eqd 0xFF 255 0.0001)) + ((test.assert-eqd 0xFFFFFFFF 4294967295 0.0001)) + )) + -- cgit