From afffaf25c289977bf173f9ddf1c190f17c10abcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Delorme?= Date: Tue, 25 Jan 2022 11:19:41 +0000 Subject: [PATCH] wip #4 : add test on find_names --- tests/testthat/test-find_name.R | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/testthat/test-find_name.R diff --git a/tests/testthat/test-find_name.R b/tests/testthat/test-find_name.R new file mode 100644 index 0000000..1448d47 --- /dev/null +++ b/tests/testthat/test-find_name.R @@ -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"))) + +}) + + + + + +