Moves code into Science module
This commit is contained in:
parent
1fe9524937
commit
df075b4d68
|
@ -2,11 +2,11 @@ open Jest;
|
|||
open Expect;
|
||||
|
||||
describe("Bandwidth", () => {
|
||||
test("nrd0 1", () => {
|
||||
test("nrd0()", () => {
|
||||
let data = [|1., 4., 3., 2.|];
|
||||
expect(Science.nrd0(data)) |> toEqual(0.7635139420854616);
|
||||
});
|
||||
test("nrd0 2", () => {
|
||||
test("nrd()", () => {
|
||||
let data = [|1., 4., 3., 2.|];
|
||||
expect(Science.nrd(data)) |> toEqual(0.899249754011766);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user