Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aassuied-ps committed Nov 21, 2024
1 parent 7521d0b commit 68ac736
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testthat/test-fda-table_32.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ test_that("Table 32 generation missing values and ADSL", {

# rtables -----

test_that("Table 32 generation works with default values", {
result <- make_table_32_rtables(advs)

res <- expect_silent(result)
expect_snapshot(res)
})

test_that("Table 32 generation works with custom values", {
result <- make_table_32_rtables(
advs,
Expand Down
7 changes: 7 additions & 0 deletions tests/testthat/test-fda-table_33.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ test_that("Table 33 generation missing values and ADSL", {

# rtables -----

test_that("Table 33 generation works with default values", {
result <- make_table_33_rtables(advs)

res <- expect_silent(result)
expect_snapshot(res)
})

test_that("Table 33 generation works with custom values", {
result <- make_table_33_rtables(
advs,
Expand Down

0 comments on commit 68ac736

Please sign in to comment.