From a04e5120a073e6e42e229ebab60429f2ea7511c4 Mon Sep 17 00:00:00 2001 From: hemalvarambhia Date: Mon, 15 Jan 2024 20:07:37 +0000 Subject: [PATCH] refactor: made the test name shorter and hopefully more concise. --- .../PMComplexNumberTest.class.st | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Math-Tests-Complex/PMComplexNumberTest.class.st b/src/Math-Tests-Complex/PMComplexNumberTest.class.st index 23346620..b89de39e 100644 --- a/src/Math-Tests-Complex/PMComplexNumberTest.class.st +++ b/src/Math-Tests-Complex/PMComplexNumberTest.class.st @@ -253,14 +253,6 @@ PMComplexNumberTest >> testComplexNumberAndIntegerAreUnequalEvenIfRealPartIsEqua self deny: 1 + 3 i equals: 1 ] -{ #category : #'testing - mathematical functions' } -PMComplexNumberTest >> testComplexNumberZeroRaisedToThePowerOfZero [ - - | zeroRaisedToZero | - zeroRaisedToZero := (PMComplexNumber zero) raisedTo: 0. - self assert: zeroRaisedToZero equals: PMComplexNumber one. -] - { #category : #'testing - mathematical functions' } PMComplexNumberTest >> testCos [ @@ -967,3 +959,11 @@ PMComplexNumberTest >> testZeroComplexNumberIsEqualToIntegerZero [ PMComplexNumberTest >> testZeroComplexNumbersDoNotHaveAReciprocal [ self should: [ PMComplexNumber zero reciprocal ] raise: ZeroDivide ] + +{ #category : #'testing - mathematical functions' } +PMComplexNumberTest >> testZeroRaisedToThePowerOfZero [ + + | zeroRaisedToZero | + zeroRaisedToZero := (PMComplexNumber zero) raisedTo: 0. + self assert: zeroRaisedToZero equals: PMComplexNumber one. +]