tests/testthat/test_ml.R

# context("Tests on `mlf`")
#
# # 1 - Code ----
#
# library(testthat)
# library(ahead)
#
# set.seed(123)
# x <- ts(rnorm(10))
# res <- ahead::embedc(x, 1)
#
# testthat::test_that("1 - tests on mlf", {
#   print("running tests on mlf")
#   expect_equal(res, embed(x, 1))
# })
Techtonique/ahead documentation built on Nov. 24, 2024, 10:33 a.m.