aa192883e2
Value: [0.001 to 0.01]
18 lines
440 B
Plaintext
18 lines
440 B
Plaintext
open Jest
|
|
open TestHelpers
|
|
|
|
describe("Combining Continuous and Discrete Distributions", () => {
|
|
makeTest(
|
|
"keep order of xs when multiplying by negative number",
|
|
AlgebraicShapeCombination.isOrdered(
|
|
AlgebraicShapeCombination.combineShapesContinuousDiscrete(
|
|
#Multiply,
|
|
{xs: [0., 1.], ys: [1., 1.]},
|
|
{xs: [-1.], ys: [1.]},
|
|
false
|
|
),
|
|
), // Multiply distribution by -1
|
|
true,
|
|
)
|
|
})
|