26 lines
595 B
Plaintext
26 lines
595 B
Plaintext
(assert= 3.2 3.2)
|
|
(assert= false (eq? 3.7 7.2))
|
|
(assert= true (ne? 3.7 7.2))
|
|
|
|
(assert= 3.1 (+. 1.0 2.1))
|
|
(assert= -1.1 (-. 1.0 2.1))
|
|
(assert= 7.8 (*. 5.2 1.5))
|
|
(assert= 2.5 (/. 5.0 2.0))
|
|
(assert= 1.25 (%. 10.0 1.75))
|
|
(assert= 8.0 (^. 2.0 3.0))
|
|
|
|
(assert= true (< 1.0 2.0))
|
|
(assert= false (< 2.0 2.0))
|
|
(assert= false (< 3.0 2.0))
|
|
|
|
(assert= true (<= 1.0 2.0))
|
|
(assert= true (<= 2.0 2.0))
|
|
(assert= false (<= 3.0 2.0))
|
|
|
|
(assert= true (> 18.0 5.3))
|
|
(assert= false (> 18.0 18.0))
|
|
(assert= false (> 18.0 115.3))
|
|
|
|
(assert= true (>= 18.0 5.3))
|
|
(assert= true (>= 18.0 18.0))
|
|
(assert= false (>= 18.0 115.3)) |