tests/testthat/test_sportsoder.R

library(stringr)
context("String length")

test_that("format returns correct dimensions", {
  data <- read_sportscode_xml("fixtures/XML Edit list.xml")
  expect_equal(dim(data), c(557,17))
})
wal/sportscoder documentation built on May 30, 2019, 8:28 a.m.