tests/testthat/test-is-titled.R

test_that("tmr_is_titled works", {
  expect_false(tmr_is_titled(tmr_timer()))
  expect_true(tmr_is_titled(tmr_timer(title = "my timer")))
})

Try the hmstimer package in your browser

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

hmstimer documentation built on Sept. 12, 2024, 7:36 a.m.