tests/testthat/test_area_ellipse.R

library(geometry)
context("Area Ellipse")

test_that("area of a ellipse", {
  expect_equal(area_ellipse(5, 5), pi * 25)
})
katiesocolow/Week_2_Project_Package documentation built on May 12, 2019, 10:33 p.m.