tests/testthat/test-beta_plot.R

expected_value <- 0.3
this_much <- 0.9
within <- 0.2

# should this be an S3 method

test_that("beta plot makes a plot", {
  expect_s3_class(beta_plot(expected_value, this_much, within), "ggplot")
})
softloud/parameterpal documentation built on Sept. 7, 2020, 3:49 a.m.