tests/testthat/test_getWindowLength.R

library(otsad)
context("Get Window Length")

test_that("GetWindowLength gives the correct result", {
  expect_equal(GetWindowLength(data.length = 180, num.real.anomaly = 3), 6)
})
alaineiturria/otsad documentation built on Jan. 12, 2023, 12:26 p.m.