tests/testthat/testsuma.R

library(Prueba3)
context("Longitud del vector resultante")
test_that("Prueba la longitud del vector", {
  expect_equal(length(suma(2,3)), 1)
})
JessicN/Prueba3 documentation built on May 30, 2019, 1:26 p.m.