squiggle/packages/squiggle-lang/__tests__/Distributions/Algebra/Means_test.res

22 lines
462 B
Plaintext
Raw Normal View History

2022-04-12 21:06:53 +00:00
open Jest
open Expect
open TestHelpers
describe("Mean", () => {
let distributions = list{
normalMake(0.0, 1e0),
betaMake(2e0, 4e0),
exponentialMake(1.234e0),
uniformMake(7e0, 1e1),
// cauchyMake(1e0, 1e0),
2022-04-12 21:06:53 +00:00
lognormalMake(1e0, 1e0),
triangularMake(1e0, 1e1, 5e1),
floatMake(1e1)
}
let digits = 7
testAll("addition", () => {
2022-04-12 21:06:53 +00:00
true -> expect -> toBe(true)
})
})