tests/testthat/test_retornaValor-functions.R

context("retornaValor return")

test_that("retornaValor o valor retornado", {
  expect_equal(retornaValor("Abc"), "Abc")
  expect_equal(retornaValor("02/2014"),"02/2014")
  expect_equal(retornaValor(01), 1)
})

Try the Fgmutils package in your browser

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

Fgmutils documentation built on May 29, 2017, 9:48 p.m.