Skip to content

Commit b04f7c9

Browse files
test: added another missing test.
1 parent a9a955e commit b04f7c9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,3 +990,13 @@ PMComplexNumberTest >> testZeroRaisedToThePowerOfZero [
990990
zeroRaisedToZero := (PMComplexNumber zero) raisedTo: 0.
991991
self assert: zeroRaisedToZero equals: PMComplexNumber one.
992992
]
993+
994+
{ #category : #tests }
995+
PMComplexNumberTest >> testZeroToThePowerOfZero [
996+
"comment stating purpose of instance-side method"
997+
"scope: class-variables & instance-variables"
998+
999+
| zero |
1000+
zero := PMComplexNumber zero.
1001+
self assert: (zero raisedTo: 0) equals: PMComplexNumber one.
1002+
]

0 commit comments

Comments
 (0)