tests/testthat/test_3_calculations.R

context("3 - Functions used for calculating statistics")

test_that("alphaBeta() returns a numeric value", {
    expect_is(alphaBeta(c(0.1, 0.2, 0.3)), "numeric")
})

Try the gscreend package in your browser

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

gscreend documentation built on Nov. 8, 2020, 7:18 p.m.