inst/tests/test-PvarBreakTest.R

context("PvarBreakTest")

test_that("Basic", {
  set.seed(12345)
  N = 1000
  x = rnorm(N) + rep(0:1, each=N/2)
  Test = PvarBreakTest(x)
  # plot(Test)
  
  expect_that(Test, is_a('PvarBreakTest'))
  expect_that(summary(Test), is_a('PvarBreakTest'))
  # expect_that(plot(Test), is_null())

})
  
  
  
  
  

Try the pvar package in your browser

Any scripts or data that you put into this service are public.

pvar documentation built on Oct. 18, 2022, 9:09 a.m.