tests/component-tests/test-IngestData.R

context("component test for IngestData")

test_that("IngestData implements its interface method signatures", {
    expect_class(db <- IngestData$new(), "Ingest")
    expect_a_non_empty_data.frame(db$historical_data)
    expect_a_non_empty_data.frame(db$new_data)
    expect_a_non_empty_data.frame(db$submission_format)
})
data-science-competitions/Modeling-Earthquake-Damage documentation built on Dec. 25, 2019, 12:02 p.m.