tests/testthat/test-AAEA.R

context("test-AAEA")

test_that("Whether MaxIETD mataches with the maximun number of hours considered in the Figure of IETD vs AAE", {
  Time_series=five_minute_time_series
  MaxIETD=30
  df<-AAEA(Time_series,MaxIETD)$Values
  expect_equal(length(df[,2]),MaxIETD)})

Try the IETD package in your browser

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

IETD documentation built on March 13, 2020, 1:53 a.m.