From d117fa603fc8ffe4032a77acab2636e994ced3d7 Mon Sep 17 00:00:00 2001 From: Kent English Date: Fri, 24 Mar 2017 20:41:38 -0400 Subject: [PATCH] Adding comment about origin of test values --- distuv/chisquared_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/distuv/chisquared_test.go b/distuv/chisquared_test.go index acffefe9..60715915 100644 --- a/distuv/chisquared_test.go +++ b/distuv/chisquared_test.go @@ -31,6 +31,7 @@ func TestChiSquaredCDF(t *testing.T) { for _, test := range []struct { x, k, want float64 }{ + // Values calculated with scipy.stats.chi2.cdf {0, 1, 0}, {0.01, 5, 5.3002700426865167e-07}, {0.05, 3, 0.002929332764619924},