aboutsummaryrefslogtreecommitdiff
path: root/tests/math.lisp
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-07-01 01:30:40 +0800
committerMistivia <i@mistivia.com>2025-07-01 01:30:40 +0800
commitcdff133ab8e8a0c9ec62586abc3729a14e1cbba5 (patch)
treed1ccf2fab2099047cacc41d7182bdb8c40c4e790 /tests/math.lisp
parente11f5d02afc9130c1398eeb3e2d25cd965bef27e (diff)
fix div bug
Diffstat (limited to 'tests/math.lisp')
-rw-r--r--tests/math.lisp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/math.lisp b/tests/math.lisp
index cbd5298..4ecf876 100644
--- a/tests/math.lisp
+++ b/tests/math.lisp
@@ -9,6 +9,8 @@
(assert (= 1 (abs 1)))
(assert (= 1.1 (abs 1.1)))
+(~~ 0.2 (/ 5))
+
(~~ 3.141 pi)
(assert-error (~~ 3.2 pi))