From fdae0618ce0dabc76ef06b50abb082bd8a8d135e Mon Sep 17 00:00:00 2001 From: hemalvarambhia Date: Mon, 15 Jan 2024 22:55:12 +0000 Subject: [PATCH] refactor: Inline Variable as it is not paying its rent. --- src/Math-Tests-Complex/PMComplexNumberTest.class.st | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Math-Tests-Complex/PMComplexNumberTest.class.st b/src/Math-Tests-Complex/PMComplexNumberTest.class.st index 788bbd4d..8c3a039c 100644 --- a/src/Math-Tests-Complex/PMComplexNumberTest.class.st +++ b/src/Math-Tests-Complex/PMComplexNumberTest.class.st @@ -877,10 +877,10 @@ PMComplexNumberTest >> testSquareRootOfZeroIsZero [ { #category : #'testing - mathematical functions' } PMComplexNumberTest >> testSquared [ - | c c2 | + + | c | c := 6 - 6 i. - c2 := c squared. - self assert: c2 equals: (0 - 72 i) + self assert: c squared equals: 0 - 72 i ] { #category : #'testing - arithmetic' }