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")
})
imkeller/gscreend documentation built on March 25, 2020, 4:33 p.m.