tests/testthat/test-erreur_correction_propostion.R

context("error_correction_propostion")

test_that("error_correction_propostion works", {
  expect_equal(error_correction_propostion("view")[1],"View")
  expect_equal(error_correction_propostion("sl")[1],"ls")
})
ThinkRstat/fcuk documentation built on Oct. 15, 2023, 10:01 p.m.