Skip to content

Commit

Permalink
Adaptation to improved Theil-Sen algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
JaapvanEkris authored Jan 9, 2024
1 parent cfb2d66 commit c2e0960
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/engine/utils/FullTSQuadraticSeries.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,15 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
dataSeries.push(0, 5)
testCoefficientA(dataSeries, 4)
testCoefficientB(dataSeries, 4)
testCoefficientC(dataSeries, 4)
testCoefficientC(dataSeries, 5)
dataSeries.push(1, 11)
testCoefficientA(dataSeries, 4)
testCoefficientB(dataSeries, 4)
testCoefficientC(dataSeries, 4)
testCoefficientC(dataSeries, 3)
dataSeries.push(2, 29)
testCoefficientA(dataSeries, 4)
testCoefficientB(dataSeries, 4)
testCoefficientC(dataSeries, 4)
testCoefficientC(dataSeries, 5)
dataSeries.push(3, 51)
testCoefficientA(dataSeries, 4)
testCoefficientB(dataSeries, 4)
Expand Down Expand Up @@ -309,11 +309,11 @@ test('Quadratic Approximation on function y = 4 * Math.pow(x, 2) + 4 * x + 4, wi
dataSeries.push(4, 85)
testCoefficientA(dataSeries, 4)
testCoefficientB(dataSeries, 4)
testCoefficientC(dataSeries, 4)
testCoefficientC(dataSeries, 5)
dataSeries.push(5, 123)
testCoefficientA(dataSeries, 4)
testCoefficientB(dataSeries, 4)
testCoefficientC(dataSeries, 4)
testCoefficientC(dataSeries, 3)
dataSeries.push(6, 173)
testCoefficientA(dataSeries, 4.044444444444444)
testCoefficientB(dataSeries, 3.8222222222222215)
Expand Down

0 comments on commit c2e0960

Please sign in to comment.