File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -100,20 +100,23 @@ patrick::with_parameters_test_that("Unit tests for for the export of predictions
100100 expect_equal(as.vector(double_mlplr_obj $ predictions $ ml_g ),
101101 as.vector(preds_g $ response ),
102102 tolerance = 1e-8 )
103- expect_class(double_mlplr_obj $ models $ ml_g $ d [[1 ]][[1 ]],
104- " LearnerRegr" )
103+ expect_class(
104+ double_mlplr_obj $ models $ ml_g $ d [[1 ]][[1 ]],
105+ " LearnerRegr" )
105106 }
106107
107108 expect_equal(as.vector(double_mlplr_obj $ predictions $ ml_l ),
108109 as.vector(preds_l $ response ),
109110 tolerance = 1e-8 )
110- expect_class(double_mlplr_obj $ models $ ml_l $ d [[1 ]][[1 ]],
111- " LearnerRegr" )
111+ expect_class(
112+ double_mlplr_obj $ models $ ml_l $ d [[1 ]][[1 ]],
113+ " LearnerRegr" )
112114
113115 expect_equal(as.vector(double_mlplr_obj $ predictions $ ml_m ),
114116 as.vector(preds_m $ response ),
115117 tolerance = 1e-8 )
116- expect_class(double_mlplr_obj $ models $ ml_m $ d [[1 ]][[1 ]],
117- " LearnerRegr" )
118+ expect_class(
119+ double_mlplr_obj $ models $ ml_m $ d [[1 ]][[1 ]],
120+ " LearnerRegr" )
118121 }
119122)
You can’t perform that action at this time.
0 commit comments