(t *testing.T)
| 331 | } |
| 332 | |
| 333 | func TestLotteryData(t *testing.T) { |
| 334 | r, e := stats.Mean(lottery) |
| 335 | test("Lottery Mean", r, 518.958715596330, 1e-15, e, t) |
| 336 | |
| 337 | r, e = stats.StandardDeviationSample(lottery) |
| 338 | test("Lottery Standard Deviation", r, 291.699727470969, 1e-15, e, t) |
| 339 | |
| 340 | r, e = stats.AutoCorrelation(lottery, 1) |
| 341 | test("Lottery AutoCorrelate1", r, -0.120948622967393, 1e-14, e, t) |
| 342 | } |
| 343 | |
| 344 | func TestMavroData(t *testing.T) { |
| 345 | r, e := stats.Mean(mavro) |
nothing calls this directly
no test coverage detected
searching dependent graphs…