tests/testthat/test-write_choices.R

choices <- "a, Choice A | b, Choice B | c, Choice C"

test_that("number of choices", {
  expect_equal(length(parse_choices(choices)), 3)
})
greg-botwin/dddown documentation built on May 29, 2020, 12:47 a.m.