tests/testthat/test-cutpoint-strategy.R

describe("cutpoint_mean_of_means", {
  it("creates a cutpoint_strategy object", {
    s <- cutpoint_mean_of_means()
    expect_s3_class(s, "cutpoint_strategy")
    expect_equal(s$name, "mean_of_means")
  })
})

Try the ppforest2 package in your browser

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

ppforest2 documentation built on July 21, 2026, 9:07 a.m.