Unit testing for def/ module.
Added unit tests to test code in def/ module.
This commit is contained in:
parent
e24b8a08c9
commit
bac60e872a
396 changed files with 83991 additions and 13209 deletions
2
vendor/github.com/montanaflynn/stats/outlier.go
generated
vendored
2
vendor/github.com/montanaflynn/stats/outlier.go
generated
vendored
|
@ -9,7 +9,7 @@ type Outliers struct {
|
|||
// QuartileOutliers finds the mild and extreme outliers
|
||||
func QuartileOutliers(input Float64Data) (Outliers, error) {
|
||||
if input.Len() == 0 {
|
||||
return Outliers{}, EmptyInput
|
||||
return Outliers{}, EmptyInputErr
|
||||
}
|
||||
|
||||
// Start by sorting a copy of the slice
|
||||
|
|
Reference in a new issue