tests/testthat/test.03.R

##
## File:   test_03.R
## Author: Michael J. North
## Date:   November 25, 2015
##

## Note the type of test.
context("JPG files")

## Note the data path.
path <- system.file("extdata", "image.jpg", package = "SchemaOnRead")

## Perform a test.
testthat::expect_that(length(SchemaOnRead::schemaOnRead(path)),
  testthat::equals(17760))
drmichaelnorth/SchemaOnRead documentation built on May 15, 2019, 2:21 p.m.