Skip to content

Commit a04e512

Browse files
refactor: made the test name shorter and hopefully more concise.
1 parent f4d8a3c commit a04e512

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,6 @@ PMComplexNumberTest >> testComplexNumberAndIntegerAreUnequalEvenIfRealPartIsEqua
253253
self deny: 1 + 3 i equals: 1
254254
]
255255

256-
{ #category : #'testing - mathematical functions' }
257-
PMComplexNumberTest >> testComplexNumberZeroRaisedToThePowerOfZero [
258-
259-
| zeroRaisedToZero |
260-
zeroRaisedToZero := (PMComplexNumber zero) raisedTo: 0.
261-
self assert: zeroRaisedToZero equals: PMComplexNumber one.
262-
]
263-
264256
{ #category : #'testing - mathematical functions' }
265257
PMComplexNumberTest >> testCos [
266258

@@ -967,3 +959,11 @@ PMComplexNumberTest >> testZeroComplexNumberIsEqualToIntegerZero [
967959
PMComplexNumberTest >> testZeroComplexNumbersDoNotHaveAReciprocal [
968960
self should: [ PMComplexNumber zero reciprocal ] raise: ZeroDivide
969961
]
962+
963+
{ #category : #'testing - mathematical functions' }
964+
PMComplexNumberTest >> testZeroRaisedToThePowerOfZero [
965+
966+
| zeroRaisedToZero |
967+
zeroRaisedToZero := (PMComplexNumber zero) raisedTo: 0.
968+
self assert: zeroRaisedToZero equals: PMComplexNumber one.
969+
]

0 commit comments

Comments
 (0)