Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennit07 committed Dec 12, 2023
1 parent 3b92113 commit 1bc105f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions man/slfhelper-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/testthat/test-multiple_years.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test_that("read multiple years works for individual file", {
expect_length(indiv, 2)

# Test for the correct number of rows (50 * 2)
expect_equal(nrow(indiv), 50)
expect_equal(nrow(indiv), 100)

# This test keeps failing as the rows are not equal to 50, e.g 29 and 21
# # Test that we have 50 rows from each year
Expand All @@ -45,7 +45,7 @@ test_that("read multiple years works for episode file", {
expect_length(ep, 2)

# Test for the correct number of rows (50 * 2)
expect_equal(nrow(ep), 50)
expect_equal(nrow(ep), 100)

# This test keeps failing as the rows are not equal to 50, e.g 29 and 21
# # Test that we have 50 rows from each year
Expand Down

0 comments on commit 1bc105f

Please sign in to comment.