Skip to content

Commit

Permalink
add test for palette uniqueness
Browse files Browse the repository at this point in the history
  • Loading branch information
nrennie committed Jun 19, 2024
1 parent 0ff0ec8 commit f725649
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-palettes.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test_that("palettes are valid", {
expect_equal(length(names(PrettyColsPalettes)), length(unique(names(PrettyColsPalettes))))

})

0 comments on commit f725649

Please sign in to comment.