tests/testthat/test_area_circle.R

library(geometry)
context("Area Circle")

test_that("area of a circle", {
  expect_equal(area_circle(1), pi)
})
katiesocolow/Week_2_Project_Package documentation built on May 12, 2019, 10:33 p.m.