Skip to content

Commit 4b7f888

Browse files
refactor: Rename Variable so it reflects the role played by the object.
1 parent 05ba156 commit 4b7f888

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Math-Tests-Polynomials/PMPolynomialTest.class.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ PMPolynomialTest >> testPolynomialNumberMultiplication [
203203
{ #category : #'algebra - multiplication' }
204204
PMPolynomialTest >> testPolynomialNumberMultiplicationInverse [
205205

206-
| polynomial expected |
207-
polynomial := (PMPolynomial coefficients: #( 2 -3 1 )) * 2.
206+
| product expected |
207+
product := (PMPolynomial coefficients: #( 2 -3 1 )) * 2.
208208

209209
expected := PMPolynomial coefficients: #( 4 -6 2 ).
210-
self assert: polynomial equals: expected
210+
self assert: product equals: expected
211211
]
212212

213213
{ #category : #'algebra - subtraction' }

0 commit comments

Comments
 (0)