Skip to content

Commit 933f53c

Browse files
Classified the methods, mirroring the structure of production.
1 parent 1597a00 commit 933f53c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ PMComplexTest >> testAdaptToCollectionAndSend [
4545
self assert: (arr * c at: 2) equals: c
4646
]
4747

48-
{ #category : #tests }
48+
{ #category : #'testing - arithmetic' }
4949
PMComplexTest >> testAddPolynomial [
5050
| c poly |
5151
c := 6 - 6 i.
@@ -54,7 +54,7 @@ PMComplexTest >> testAddPolynomial [
5454
self assert: (c + poly at: 0) equals: 7 - 6 i
5555
]
5656

57-
{ #category : #tests }
57+
{ #category : #'testing - arithmetic' }
5858
PMComplexTest >> testAdding [
5959
"self run: #testAdding"
6060

@@ -214,7 +214,7 @@ PMComplexTest >> testComplexCollection [
214214
do: [ :one :two | self assert: 2 * one equals: two ]
215215
]
216216

217-
{ #category : #tests }
217+
{ #category : #'testing - arithmetic' }
218218
PMComplexTest >> testComplexConjugate [
219219

220220
self assert: (5 - 6i) complexConjugate equals: (5 + 6i).
@@ -308,15 +308,15 @@ PMComplexTest >> testCreation [
308308
self assert: c imaginary equals: 5
309309
]
310310

311-
{ #category : #tests }
311+
{ #category : #'testing - arithmetic' }
312312
PMComplexTest >> testDividingPolynomial [
313313
| c poly |
314314
c := 4 + 4 i.
315315
poly := PMPolynomial coefficients: #(1 0 1).
316316
self assert: poly / c equals: 1 / c * poly
317317
]
318318

319-
{ #category : #tests }
319+
{ #category : #'testing - arithmetic' }
320320
PMComplexTest >> testDivision1 [
321321
"self run: #testDivision1"
322322
"self debug: #testDivision1"
@@ -446,14 +446,14 @@ PMComplexTest >> testLog [
446446
self assert: (2 + 0 i log: 2) equals: 1
447447
]
448448

449-
{ #category : #tests }
449+
{ #category : #'testing - arithmetic' }
450450
PMComplexTest >> testMultiplyByI [
451451
| c |
452452
c := 5 - 6 i.
453453
self assert: c * 1 i equals: c i
454454
]
455455

456-
{ #category : #tests }
456+
{ #category : #'testing - arithmetic' }
457457
PMComplexTest >> testNegated [
458458
"self run: #testNegated"
459459

@@ -537,7 +537,7 @@ PMComplexTest >> testRandom [
537537
self assert: r abs < c abs
538538
]
539539

540-
{ #category : #tests }
540+
{ #category : #'testing - arithmetic' }
541541
PMComplexTest >> testReciprocal [
542542
"self run: #testReciprocal"
543543

@@ -559,7 +559,7 @@ PMComplexTest >> testReciprocalError [
559559

560560
]
561561

562-
{ #category : #tests }
562+
{ #category : #'testing - arithmetic' }
563563
PMComplexTest >> testSecureDivision1 [
564564
"self run: #testSecureDivision1"
565565
"self debug: #testSecureDivision1"
@@ -572,7 +572,7 @@ PMComplexTest >> testSecureDivision1 [
572572

573573
]
574574

575-
{ #category : #tests }
575+
{ #category : #'testing - arithmetic' }
576576
PMComplexTest >> testSecureDivision2 [
577577
"self run: #testSecureDivision2"
578578
"self debug: #testSecureDivision2"
@@ -706,7 +706,7 @@ PMComplexTest >> testSquared [
706706
self assert: c2 real equals: 0
707707
]
708708

709-
{ #category : #tests }
709+
{ #category : #'testing - arithmetic' }
710710
PMComplexTest >> testSubtractToPolynomial [
711711
| c poly |
712712
poly := PMPolynomial coefficients: #(1 2 3).
@@ -739,7 +739,7 @@ PMComplexTest >> testTanh [
739739
self assert: (c2 imaginary closeTo: c tanh imaginary).
740740
]
741741

742-
{ #category : #tests }
742+
{ #category : #'testing - arithmetic' }
743743
PMComplexTest >> testTimesPolynomial [
744744
| c poly |
745745
c := 1 + 1 i.

0 commit comments

Comments
 (0)