Skip to content

Commit

Permalink
Added two more assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
olekscode committed Apr 23, 2022
1 parent c4ea1f1 commit 45bbc54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Math-Tests-Complex/PMComplexTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ PMComplexTest >> testCloseToReal [

self assert: 2 + 0.000000000000001i closeTo: 2.
self assert: 2.000000000000001 + 0.000000000000001i closeTo: 2.

self assert: 2 + 0i closeTo: 2.000000000000001.
self deny: 2 + 3i closeTo: 2.000000000000001
]

{ #category : #'testing - close to' }
Expand Down

0 comments on commit 45bbc54

Please sign in to comment.