Skip to content

Commit a710335

Browse files
author
Raphael Sonabend
committed
windev fix
Branch: master
1 parent 8455333 commit a710335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test_repDistribution.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ test_that("rep custom", {
66
})
77

88
test_that("rep dist/param", {
9-
expect_equal(rep(Binomial$new(size = 2), 2, "mix"),
9+
expect_equal(rep(Binomial$new(size = 2, prob = 0.1), 10, "mix")$pdf(1:5),
1010
MixtureDistribution$new(distribution = "Binomial",
11-
params = list(list(size = 2), list(size = 2))))
11+
params = rep(list(list(size = 2, prob = 0.1)), 10))$pdf(1:5))
1212
})
1313

1414
test_that("rep kernel", {

0 commit comments

Comments
 (0)