tests/testthat/test-dpssap-neg.R

## Test gets error, how to write properly?

test_that("dpssap_test", { 
  m <- matrix(1:9, nrow = 3, ncol = 3)
  expect_error(dpssap(m, -1), Error)
})
wesleyburr/tsinterp documentation built on Jan. 28, 2024, 11:16 a.m.