tests/testthat/test-helloworld.R

test_that("ceres_helloworld() solves the tutorial problem", {
    expect_output(ceres_helloworld(0.5), "x : 0.5 -> 10")
})

Try the ceres package in your browser

Any scripts or data that you put into this service are public.

ceres documentation built on Nov. 28, 2026, 1:07 a.m.