Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Jan 2, 2025
1 parent d8a06a8 commit 58a7459
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vlib/math/stats/stats_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ fn test_lag1_autocorrelation() {
fn test_kurtosis() {
mut data := [10.0, 4.45, 5.9, 2.7]
mut o := stats.kurtosis(data)
dump(o)
assert math.alike(o, -1.0443212849233845)
data = [-3.0, 67.31, 4.4, 1.89]
o = stats.kurtosis(data)
Expand All @@ -464,6 +465,7 @@ fn test_kurtosis() {
fn test_skew() {
mut data := [10.0, 4.45, 5.9, 2.7]
mut o := stats.skew(data)
dump(o)
assert math.alike(o, 0.5754021106320453)
data = [-3.0, 67.31, 4.4, 1.89]
o = stats.skew(data)
Expand Down

0 comments on commit 58a7459

Please sign in to comment.