diff --git a/src/Math-Tests-Complex/PMComplexNumberTest.class.st b/src/Math-Tests-Complex/PMComplexNumberTest.class.st index 23346620..b89de39e 100644 --- a/src/Math-Tests-Complex/PMComplexNumberTest.class.st +++ b/src/Math-Tests-Complex/PMComplexNumberTest.class.st @@ -253,14 +253,6 @@ PMComplexNumberTest >> testComplexNumberAndIntegerAreUnequalEvenIfRealPartIsEqua self deny: 1 + 3 i equals: 1 ] -{ #category : #'testing - mathematical functions' } -PMComplexNumberTest >> testComplexNumberZeroRaisedToThePowerOfZero [ - - | zeroRaisedToZero | - zeroRaisedToZero := (PMComplexNumber zero) raisedTo: 0. - self assert: zeroRaisedToZero equals: PMComplexNumber one. -] - { #category : #'testing - mathematical functions' } PMComplexNumberTest >> testCos [ @@ -967,3 +959,11 @@ PMComplexNumberTest >> testZeroComplexNumberIsEqualToIntegerZero [ PMComplexNumberTest >> testZeroComplexNumbersDoNotHaveAReciprocal [ self should: [ PMComplexNumber zero reciprocal ] raise: ZeroDivide ] + +{ #category : #'testing - mathematical functions' } +PMComplexNumberTest >> testZeroRaisedToThePowerOfZero [ + + | zeroRaisedToZero | + zeroRaisedToZero := (PMComplexNumber zero) raisedTo: 0. + self assert: zeroRaisedToZero equals: PMComplexNumber one. +]