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")
})

Try the fcuk package in your browser

Any scripts or data that you put into this service are public.

fcuk documentation built on May 1, 2019, 10:22 p.m.