Skip to content

Commit a3e7f96

Browse files
refactor: Rename Variable: the polynomial is the integrand.
1 parent 63b3779 commit a3e7f96

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ PMPolynomialTest >> testPolynomialIntegral [
143143
PMPolynomialTest >> testPolynomialIntegralWithConstant [
144144
"Code example 2.3"
145145

146-
| polynomial arbitraryConstant p |
146+
| polynomial arbitraryConstant integrand |
147147
arbitraryConstant := 5.
148-
p := PMPolynomial coefficients: #( -3 7 2 1 ).
149-
polynomial := p integral: arbitraryConstant.
148+
integrand := PMPolynomial coefficients: #( -3 7 2 1 ).
149+
polynomial := integrand integral: arbitraryConstant.
150150
self assert: (polynomial at: 0) equals: 5.
151151
self assert: (polynomial at: 1) equals: -3.
152152
self assert: (polynomial at: 2) equals: 7 / 2.

0 commit comments

Comments
 (0)