MCPcopy
hub / github.com/qax-os/excelize / TestPrepareTrendGrowth

Function TestPrepareTrendGrowth

calc_test.go:6590–6596  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

6588}
6589
6590func TestPrepareTrendGrowth(t *testing.T) {
6591 assert.Equal(t, [][]float64(nil), prepareTrendGrowthMtxX([][]float64{{0, 0}, {0, 0}}))
6592 assert.Equal(t, [][]float64(nil), prepareTrendGrowthMtxY(false, [][]float64{{0, 0}, {0, 0}}))
6593 info, err := prepareTrendGrowth(false, [][]float64{{0, 0}, {0, 0}}, [][]float64{{0, 0}, {0, 0}})
6594 assert.Nil(t, info)
6595 assert.Equal(t, newErrorFormulaArg(formulaErrorNUM, formulaErrorNUM), err)
6596}
6597
6598func TestCalcColRowQRDecomposition(t *testing.T) {
6599 assert.False(t, calcRowQRDecomposition([][]float64{{0, 0}, {0, 0}}, []float64{0, 0}, 1, 0))

Callers

nothing calls this directly

Calls 4

prepareTrendGrowthMtxXFunction · 0.85
prepareTrendGrowthMtxYFunction · 0.85
prepareTrendGrowthFunction · 0.85
newErrorFormulaArgFunction · 0.85

Tested by

no test coverage detected