Add simple plot test
This commit is contained in:
parent
56913bc95e
commit
c060304161
|
@ -0,0 +1,17 @@
|
|||
open Jest
|
||||
open Reducer_TestHelpers
|
||||
|
||||
describe("Plot Library", () => {
|
||||
testEvalToBe(`Plot.dist({
|
||||
show: [{
|
||||
name: "normal",
|
||||
value: normal(0, 1)
|
||||
}, {
|
||||
name: "lognormal",
|
||||
value: 1 to 2
|
||||
}, {
|
||||
name: "constant",
|
||||
value: 3
|
||||
}]
|
||||
})`, "Ok(Plot showing normal,lognormal,constant)")
|
||||
})
|
Loading…
Reference in New Issue
Block a user