@@ -196,16 +196,16 @@ PMComplexTest >> testCloseToReal [
196196{ #category : #' testing - close to' }
197197PMComplexTest >> testCloseToRealWithPrecision [
198198
199- self assert: ( 2 + 0. 001i closeTo: 2 precision: 0.01 ) .
200- self assert: ( 2.001 + 0. 001i closeTo: 2 precision: 0.01 ) .
199+ self assert: 2 + 0. 001i closeTo: 2 precision: 0.01 .
200+ self assert: 2.001 + 0. 001i closeTo: 2 precision: 0.01 .
201201]
202202
203203{ #category : #' testing - close to' }
204204PMComplexTest >> testCloseToWithPrecision [
205205
206- self assert: ( 2 + 3. 001i closeTo: 2 + 3i precision: 0.01 ) .
207- self assert: ( 2.001 + 3i closeTo: 2 + 3i precision: 0.01 ) .
208- self assert: ( 2.001 + 3. 001i closeTo: 2 + 3i precision: 0.01 ) .
206+ self assert: 2 + 3. 001i closeTo: 2 + 3i precision: 0.01 .
207+ self assert: 2.001 + 3i closeTo: 2 + 3i precision: 0.01 .
208+ self assert: 2.001 + 3. 001i closeTo: 2 + 3i precision: 0.01 .
209209]
210210
211211{ #category : #tests }
@@ -544,16 +544,16 @@ PMComplexTest >> testNew [
544544{ #category : #' testing - close to' }
545545PMComplexTest >> testNotCloseToRealWithPrecision [
546546
547- self deny: ( 2 + 0. 001i closeTo: 2 precision: 0.000001 ) .
548- self deny: ( 2.001 + 0. 001i closeTo: 2 precision: 0.000001 ) .
547+ self deny: 2 + 0. 001i closeTo: 2 precision: 0.000001 .
548+ self deny: 2.001 + 0. 001i closeTo: 2 precision: 0.000001 .
549549]
550550
551551{ #category : #' testing - close to' }
552552PMComplexTest >> testNotCloseToWithPrecision [
553553
554- self deny: ( 2 + 3. 001i closeTo: 2 + 3i precision: 0.000001 ) .
555- self deny: ( 2.001 + 3i closeTo: 2 + 3i precision: 0.000001 ) .
556- self deny: ( 2.001 + 3. 001i closeTo: 2 + 3i precision: 0.000001 ) .
554+ self deny: 2 + 3. 001i closeTo: 2 + 3i precision: 0.000001 .
555+ self deny: 2.001 + 3i closeTo: 2 + 3i precision: 0.000001 .
556+ self deny: 2.001 + 3. 001i closeTo: 2 + 3i precision: 0.000001 .
557557]
558558
559559{ #category : #tests }
0 commit comments