This commit is contained in:
Ozzie Gooen 2022-04-23 19:18:02 -04:00
parent 217361b843
commit 5563a5dc40
2 changed files with 1 additions and 2 deletions

View File

@ -51,7 +51,6 @@ describe("(Algebraic) addition of distributions", () => {
->toBe(Some(2.5e1))
})
test("uniform(low=9, high=10) + beta(alpha=2, beta=5)", () => {
// let uniformMean = (9.0 +. 10.0) /. 2.0
// let betaMean = 1.0 /. (1.0 +. 5.0 /. 2.0)

View File

@ -57,7 +57,7 @@ describe("cumulative density function", () => {
{ sampleCount: n, xyPointLength: 100 }
);
let cdfValue = dist.cdf(max).value;
expect(cdfValue).toBeCloseTo(1.0, 2)
expect(cdfValue).toBeCloseTo(1.0, 2);
})
);
});