mirror of
https://github.com/gonum/gonum.git
synced 2025-10-24 15:43:07 +08:00
stat: imported stat as a subtree
This commit is contained in:
26
stat/distuv/lognormal_test.go
Normal file
26
stat/distuv/lognormal_test.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// Copyright ©2015 The gonum Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package distuv
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestLognormal(t *testing.T) {
|
||||
for i, dist := range []LogNormal{
|
||||
{
|
||||
Mu: 0.1,
|
||||
Sigma: 0.3,
|
||||
},
|
||||
{
|
||||
Mu: 0.01,
|
||||
Sigma: 0.01,
|
||||
},
|
||||
{
|
||||
Mu: 2,
|
||||
Sigma: 0.01,
|
||||
},
|
||||
} {
|
||||
testFullDist(t, dist, i, true)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user