File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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' }
265257PMComplexNumberTest >> testCos [
266258
@@ -967,3 +959,11 @@ PMComplexNumberTest >> testZeroComplexNumberIsEqualToIntegerZero [
967959PMComplexNumberTest >> 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+ ]
You can’t perform that action at this time.
0 commit comments