Skip to content

Commit

Permalink
removed combine_age test
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrbryant committed Jun 6, 2024
1 parent 685462d commit 9d1e11d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-age.R
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ test_that("'combine_age' works with valid inputs - single to lt", {
levels = age_labels("lt", min = 5, open = TRUE),
exclude = character())
expect_identical(ans_obtained, ans_expected)
x <- c(30, 35)
ans_obtained <- combine_age(x, to = "lt")
ans_expected <- factor(c("30-34", "35-39"))
expect_identical(ans_obtained, ans_expected)
## x <- c(30, 35)
## ans_obtained <- combine_age(x, to = "lt")
## ans_expected <- c("30-34", "35-39")
## expect_identical(ans_obtained, ans_expected)
})

test_that("'combine_age' works with valid inputs - single to five", {
Expand Down

0 comments on commit 9d1e11d

Please sign in to comment.