(t *testing.T)
| 320 | } |
| 321 | |
| 322 | func TestLewData(t *testing.T) { |
| 323 | r, e := stats.Mean(lew) |
| 324 | test("Lew Mean", r, -177.435000000000, 1e-15, e, t) |
| 325 | |
| 326 | r, e = stats.StandardDeviationSample(lew) |
| 327 | test("Lew Standard Deviation", r, 277.332168044316, 1e-15, e, t) |
| 328 | |
| 329 | r, e = stats.AutoCorrelation(lew, 1) |
| 330 | test("Lew AutoCorrelate1", r, -0.307304800605679, 1e-14, e, t) |
| 331 | } |
| 332 | |
| 333 | func TestLotteryData(t *testing.T) { |
| 334 | r, e := stats.Mean(lottery) |
nothing calls this directly
no test coverage detected
searching dependent graphs…