vignettes/tests_and_coverage.Rmd
tests_and_coverage.Rmd
This output is created by covrpage.
Coverage summary is created using the covr package.
Object | Coverage (%) |
---|---|
RcppArrayFire | 83.19 |
src/fastRNG.cpp | 60.00 |
shttps://github.com/daqana/rcpparrayfire/tree/HEAD/RcppArrayFireWrap.cpp | 67.86 |
shttps://github.com/daqana/rcpparrayfire/tree/HEAD/RcppArrayFireAs.cpp | 77.78 |
inst/incluhttps://github.com/daqana/rcpparrayfire/tree/HEAD/RcppArrayFireAs.h | 78.95 |
shttps://github.com/daqana/rcpparrayfire/tree/HEAD/RcppArrayFire.cpp | 84.91 |
src/fastLm.cpp | 90.91 |
inst/incluhttps://github.com/daqana/rcpparrayfire/tree/HEAD/RcppArrayFireWrap.h | 91.67 |
R/flags.R | 100.00 |
R/inline.R | 100.00 |
Unit Test summary is created using the testthat package.
file | n | time | error | failed | skipped | warning |
---|---|---|---|---|---|---|
test-exporter-wrap-sparse.R | 9 | 0.117 | 0 | 0 | 0 | 0 |
test-fastLm.R | 6 | 0.804 | 0 | 0 | 0 | 0 |
test-general.R | 9 | 0.010 | 0 | 0 | 0 | 0 |
test-inline-dims.R | 4 | 0.005 | 0 | 0 | 0 | 0 |
test-rng.R | 4 | 0.005 | 0 | 0 | 0 | 0 |
Show Detailed Test Results
file | context | test | status | n | time |
---|---|---|---|---|---|
test-exporter-wrap-sparse.R | export and wrap sparse array | export and wrap CSR array | PASS | 3 | 0.085 |
test-exporter-wrap-sparse.R | export and wrap sparse array | export and wrap CSC array | PASS | 3 | 0.018 |
test-exporter-wrap-sparse.R | export and wrap sparse array | export and wrap COO array | PASS | 3 | 0.014 |
test-fastLm.R | fastLm | models from R and AF are similar | PASS | 2 | 0.430 |
test-fastLm.R | fastLm | including intercept works | PASS | 2 | 0.095 |
test-fastLm.R | fastLm | models from R and AF on CPU are very similar | PASS | 2 | 0.279 |
test-general.R | general | info message is produced | PASS | 1 | 0.003 |
test-general.R | general | getting and setting the device works | PASS | 1 | 0.001 |
test-general.R | general | getting device info works | PASS | 5 | 0.004 |
test-general.R | general | getting and setting the backend works | PASS | 1 | 0.001 |
test-general.R | general | set_backend w/o argument uses DEFAULT | PASS | 1 | 0.001 |
test-inline-dims.R | inline and dimensions | 1d array multiplication works | PASS | 1 | 0.002 |
test-inline-dims.R | inline and dimensions | 2d array multiplication works | PASS | 1 | 0.001 |
test-inline-dims.R | inline and dimensions | 3d array multiplication works | PASS | 1 | 0.001 |
test-inline-dims.R | inline and dimensions | 4d array multiplication works | PASS | 1 | 0.001 |
test-rng.R | rng | setting and getting the random seed works | PASS | 1 | 0.001 |
test-rng.R | rng | setting seed produces identical uniformly distributed numbers | PASS | 1 | 0.001 |
test-rng.R | rng | setting seed produces identical normaly distributed numbers | PASS | 1 | 0.001 |
test-rng.R | rng | numbers are generated in the correct range | PASS | 1 | 0.002 |