(t *testing.T)
| 387 | } |
| 388 | |
| 389 | func TestNumacc2Data(t *testing.T) { |
| 390 | r, e := stats.Mean(numacc2) |
| 391 | test("numacc2 Mean", r, 1.2, 1e-10, e, t) |
| 392 | |
| 393 | r, e = stats.StandardDeviationSample(numacc2) |
| 394 | test("numacc2 Standard Deviation", r, 0.1, 1e-10, e, t) |
| 395 | |
| 396 | r, e = stats.AutoCorrelation(numacc2, 1) |
| 397 | test("Lew AutoCorrelateNumacc2", r, -0.999, 1e-10, e, t) |
| 398 | } |
| 399 | |
| 400 | func TestNumacc3Data(t *testing.T) { |
| 401 | r, e := stats.Mean(numacc3) |
nothing calls this directly
no test coverage detected
searching dependent graphs…