mirror of
https://github.com/gonum/gonum.git
synced 2025-10-20 21:59:25 +08:00
add test fixture for Quantile when p is NaN
This commit is contained in:
@@ -1106,7 +1106,11 @@ func TestQuantile(t *testing.T) {
|
||||
c: Empirical,
|
||||
p: 2,
|
||||
},
|
||||
|
||||
{
|
||||
name: "p is NaN",
|
||||
c: Empirical,
|
||||
p: math.NaN(),
|
||||
},
|
||||
{
|
||||
name: "len(x) != len(weights)",
|
||||
c: Empirical,
|
||||
|
Reference in New Issue
Block a user