tests/testthat/test_aae.R

# This test suite does some spot-checks that catch some now hopefully
# corrected bugs in teh extraction routines

test_that("Test suite aae.R",{  

    expect_error(aaa(s1=c("a","b"),sc=1:3))
    expect_error(aaa(d1=c("a","b"),d2=c("a","b"),dc=1:3))
    expect_error(aaa(d1=c("a","b"),d2=c("a","b","c"),dc=1:2))
    expect_error(aaa(t1=c("a","b"),t2=c("a","b"),t3=c("a","b"),tc=1:3))
    expect_error(aaa(t1=c("a","b","c"),t2=c("a","b"),t3=c("a","b"),tc=1:2))
    } )


    

Try the evitaicossa package in your browser

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

evitaicossa documentation built on June 28, 2024, 5:08 p.m.