-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make printouts change depending on counties vs COGs
- Loading branch information
Showing
5 changed files
with
37 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
test_that("geo_printout handles counties vs COGs", { | ||
expect_message(multi_test(year = 2021), "Counties: Fairfield County,") | ||
expect_message(multi_test(year = 2022), "COGs: Capitol COG, ") | ||
|
||
expect_message(multi_test(year = 2021), "all towns in all counties") | ||
expect_message(multi_test(year = 2022), "all towns in all COGs") | ||
|
||
expect_message(multi_test(year = 2021, counties = "Fairfield County"), "all towns in Fairfield County") | ||
expect_message(multi_test(year = 2022, counties = "Capitol COG"), "all towns in Capitol COG") | ||
}) |