Skip to content

Commit

Permalink
remove bug in expected number of unique lab site indices
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitejohnson committed Aug 8, 2024
1 parent ec51f4f commit 76e95ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_preprocess_ww_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ test_that("lab_site_index and site_index are created correctly", {
expect_true(all(!is.na(processed$site_index)))

# Check for unique indices for each lab-site combination
expect_equal(length(unique(processed$lab_site_index)), 4)
expect_equal(length(unique(processed$lab_site_index)), 2)

# Check for unique indices for each site
expect_equal(length(unique(processed$site_index)), 2)
Expand Down

0 comments on commit 76e95ff

Please sign in to comment.