Skip to content

Commit

Permalink
refactor: Inline Variable as it is not paying its rent.
Browse files Browse the repository at this point in the history
  • Loading branch information
hemalvarambhia committed Jan 15, 2024
1 parent 1a0b3ca commit fdae061
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Math-Tests-Complex/PMComplexNumberTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down

0 comments on commit fdae061

Please sign in to comment.