From 81f626135c6492e0eadbc2ccd54158e369c17aaf Mon Sep 17 00:00:00 2001 From: Oleksandr Zaitsev Date: Sat, 23 Apr 2022 04:32:54 +0200 Subject: [PATCH] Fixed #246 --- src/Math-Tests-Complex/PMComplexTest.class.st | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Math-Tests-Complex/PMComplexTest.class.st b/src/Math-Tests-Complex/PMComplexTest.class.st index e0ec78b8..1170d2ce 100644 --- a/src/Math-Tests-Complex/PMComplexTest.class.st +++ b/src/Math-Tests-Complex/PMComplexTest.class.st @@ -201,13 +201,8 @@ PMComplexTest >> testComplexCollection [ { #category : #tests } PMComplexTest >> testComplexConjugate [ - | z complexConjugateOfZ expected | - z := 5 - 6 i. - - complexConjugateOfZ := z complexConjugate . - - expected := 5 + 6 i. - self assert: complexConjugateOfZ equals: expected. + + self assert: (5 - 6i) complexConjugate equals: (5 + 6i). ] { #category : #'testing - equality' }