Skip to content

Commit 188e2b1

Browse files
committed
Changed the protocols
1 parent be966bd commit 188e2b1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,29 +178,29 @@ PMComplexTest >> testBug1 [
178178
self assert: (0.5 * (2 + 0 i) ln) exp equals: (0.5 * 2 ln) exp
179179
]
180180

181-
{ #category : #tests }
181+
{ #category : #'testing - close to' }
182182
PMComplexTest >> testCloseTo [
183183

184184
self assert: 2 + 3.000000000000001i closeTo: 2 + 3i.
185185
self assert: 2.000000000000001 + 3i closeTo: 2 + 3i.
186186
self assert: 2.000000000000001 + 3.000000000000001i closeTo: 2 + 3i.
187187
]
188188

189-
{ #category : #tests }
189+
{ #category : #'testing - close to' }
190190
PMComplexTest >> testCloseToReal [
191191

192192
self assert: 2 + 0.000000000000001i closeTo: 2.
193193
self assert: 2.000000000000001 + 0.000000000000001i closeTo: 2.
194194
]
195195

196-
{ #category : #tests }
196+
{ #category : #'testing - close to' }
197197
PMComplexTest >> testCloseToRealWithPrecision [
198198

199199
self assert: (2 + 0.001i closeTo: 2 precision: 0.01).
200200
self assert: (2.001 + 0.001i closeTo: 2 precision: 0.01).
201201
]
202202

203-
{ #category : #tests }
203+
{ #category : #'testing - close to' }
204204
PMComplexTest >> testCloseToWithPrecision [
205205

206206
self assert: (2 + 3.001i closeTo: 2 + 3i precision: 0.01).
@@ -541,14 +541,14 @@ PMComplexTest >> testNew [
541541
self assert: c imaginary equals: 0
542542
]
543543

544-
{ #category : #tests }
544+
{ #category : #'testing - close to' }
545545
PMComplexTest >> testNotCloseToRealWithPrecision [
546546

547547
self deny: (2 + 0.001i closeTo: 2 precision: 0.000001).
548548
self deny: (2.001 + 0.001i closeTo: 2 precision: 0.000001).
549549
]
550550

551-
{ #category : #tests }
551+
{ #category : #'testing - close to' }
552552
PMComplexTest >> testNotCloseToWithPrecision [
553553

554554
self deny: (2 + 3.001i closeTo: 2 + 3i precision: 0.000001).

0 commit comments

Comments
 (0)