diff options
author | nea <nea@nea.moe> | 2023-08-15 20:24:01 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-15 20:24:01 +0200 |
commit | 54b0f2ea841d2ce3895713415481271aa3034b30 (patch) | |
tree | 401775e9ce327506546fa614e79decb667ab1aa4 /test | |
parent | d1f49743a0a00a1156272d174e8b6b5c4bb9acec (diff) | |
download | nealisp-54b0f2ea841d2ce3895713415481271aa3034b30.tar.gz nealisp-54b0f2ea841d2ce3895713415481271aa3034b30.tar.bz2 nealisp-54b0f2ea841d2ce3895713415481271aa3034b30.zip |
Add support for hex literals
Diffstat (limited to 'test')
-rw-r--r-- | test/res/test.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
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)) + )) + |