From b04f7c9ecbbafc50800f54f329f9523c1952d44a Mon Sep 17 00:00:00 2001 From: hemalvarambhia Date: Wed, 17 Jan 2024 08:34:08 +0000 Subject: [PATCH] test: added another missing test. --- src/Math-Tests-Complex/PMComplexNumberTest.class.st | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Math-Tests-Complex/PMComplexNumberTest.class.st b/src/Math-Tests-Complex/PMComplexNumberTest.class.st index 341c50c1..e60fcc62 100644 --- a/src/Math-Tests-Complex/PMComplexNumberTest.class.st +++ b/src/Math-Tests-Complex/PMComplexNumberTest.class.st @@ -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. +]