Skip to content

Commit 86e633d

Browse files
author
Raphael
committed
Update test_mlr_measures_MeasureSurvIntegrated.R
1 parent be78dc9 commit 86e633d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testthat/test_mlr_measures_MeasureSurvIntegrated.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ test_that("constructor", {
99
test_that("fields",{
1010
m = MeasureSurvGraf$new(times = 32, integrated = TRUE)
1111
expect_equal(m$times, 32)
12-
expect_true(m$integrated)
12+
expect_false(m$integrated)
1313
expect_silent({m$times = 34})
14+
expect_silent({m$integrated = TRUE})
1415
expect_silent({m$times = c(34, 60)})
1516
expect_error({m$integrated = "D"}, "logical flag")
1617
expect_error({m$integrated = FALSE}, "non-integrated score")

0 commit comments

Comments
 (0)