Skip to content

Commit

Permalink
wip ThinkR-open#4 : add test on find_names
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaël Delorme committed Jan 25, 2022
1 parent 30f581e commit afffaf2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/testthat/test-find_name.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

test_that("find_names sur Iris", {
expect_equal(find_name(iris, "Sepal"),
list(rang = 1:2, valeur = c("Sepal.Length", "Sepal.Width")))

})






0 comments on commit afffaf2

Please sign in to comment.