Skip to content

Commit

Permalink
refactor: ComplexNumber is a Whole Value and we can assert equality.
Browse files Browse the repository at this point in the history
  • Loading branch information
hemalvarambhia committed Jan 15, 2024
1 parent 45b4d3c commit 1a0b3ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Math-Tests-Complex/PMComplexNumberTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,7 @@ PMComplexNumberTest >> testSquared [
| c c2 |
c := 6 - 6 i.
c2 := c squared.
self assert: c2 imaginary equals: -72.
self assert: c2 real equals: 0
self assert: c2 equals: (0 - 72 i)
]

{ #category : #'testing - arithmetic' }
Expand Down

0 comments on commit 1a0b3ca

Please sign in to comment.