tests/testthat/testMultiply.R

context("Multiply Test")

test_that("result of multiplication is the product", {
  expect_equal(gpMultiply(1,1), 1)
  expect_equal(gpMultiply(2,1), 2)
})
lolor/gpRechner documentation built on May 4, 2019, 1:22 p.m.