We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f96485e commit f4d8a3cCopy full SHA for f4d8a3c
1 file changed
src/Math-Tests-Complex/PMComplexNumberTest.class.st
@@ -253,6 +253,14 @@ PMComplexNumberTest >> testComplexNumberAndIntegerAreUnequalEvenIfRealPartIsEqua
253
self deny: 1 + 3 i equals: 1
254
]
255
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
264
{ #category : #'testing - mathematical functions' }
265
PMComplexNumberTest >> testCos [
266
0 commit comments