testthat::test_that( "examples/fastcpd_meanvariance.R", { source("examples/fastcpd_meanvariance.R") testthat::expect_equal(result@cp_set, c(300, 700, 1000, 1300, 1700)) } )