Skip to content

Commit

Permalink
!126 one more unit tests for + in (liii base)
Browse files Browse the repository at this point in the history
  • Loading branch information
XinyiYu040308 authored and da-liii committed Jan 25, 2025
1 parent 03b6336 commit 412697b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GoldfishScheme.tmu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<TMU|<tuple|1.0.5|1.2.9.7>>
<TMU|<tuple|1.1.0|2025.0.1>>

<style|<tuple|book|chinese|literate|goldfish|reduced-margins|guile|smart-ref|preview-ref|python|elvish>>

Expand Down Expand Up @@ -1992,6 +1992,8 @@

(check (- 2+2i 1+i) =\<gtr\> 1.0+1.0i)

(check (+ 3+2i 4-3i) =\> 7.0-1.0i)

\;

(check (+ +inf.0 0.7) =\<gtr\> +inf.0)
Expand Down
1 change: 1 addition & 0 deletions tests/goldfish/liii/base-test.scm
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@

(check (+ 1+i 2+2i) => 3.0+3.0i)
(check (- 2+2i 1+i) => 1.0+1.0i)
(check (+ 3+2i 4-3i) => 7.0-1.0i)

(check (+ +inf.0 0.7) => +inf.0)
(check (+ -inf.0 7) => -inf.0)
Expand Down

0 comments on commit 412697b

Please sign in to comment.