Skip to content

Commit

Permalink
test: added another missing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hemalvarambhia committed Jan 17, 2024
1 parent a9a955e commit b04f7c9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Math-Tests-Complex/PMComplexNumberTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -990,3 +990,13 @@ PMComplexNumberTest >> testZeroRaisedToThePowerOfZero [
zeroRaisedToZero := (PMComplexNumber zero) raisedTo: 0.
self assert: zeroRaisedToZero equals: PMComplexNumber one.
]

{ #category : #tests }
PMComplexNumberTest >> testZeroToThePowerOfZero [
"comment stating purpose of instance-side method"
"scope: class-variables & instance-variables"

| zero |
zero := PMComplexNumber zero.
self assert: (zero raisedTo: 0) equals: PMComplexNumber one.
]

0 comments on commit b04f7c9

Please sign in to comment.