Skip to content

Commit 81f6261

Browse files
committed
Fixed #246
1 parent 4b53cef commit 81f6261

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/Math-Tests-Complex/PMComplexTest.class.st

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,8 @@ PMComplexTest >> testComplexCollection [
201201

202202
{ #category : #tests }
203203
PMComplexTest >> testComplexConjugate [
204-
| z complexConjugateOfZ expected |
205-
z := 5 - 6 i.
206-
207-
complexConjugateOfZ := z complexConjugate .
208-
209-
expected := 5 + 6 i.
210-
self assert: complexConjugateOfZ equals: expected.
204+
205+
self assert: (5 - 6i) complexConjugate equals: (5 + 6i).
211206
]
212207

213208
{ #category : #'testing - equality' }

0 commit comments

Comments
 (0)