tests/testthat/test-utilities.R

# Tests are for the various utility functions in the package
context("Utility functions")


test_that("utility functions work correctly", {

  # Expectations
  expect_identical(makeData(1:3, label = "a"), data.frame("a" = 1:3))

})
bgreenwell/investr documentation built on April 7, 2022, 5:01 a.m.