tests/testthat/test-preprocess_response.R

context('preprocess_response')

test_that(" provide the correct input", {
  # expect an error due to incorrect input
  expect_error(preprocess_response(x= abc))
  # expect an error due to incorrect input
  expect_error(preprocess_response(x=a1b2c3))
})
xiyuansun/realEstAnalytics documentation built on May 7, 2019, 7:12 p.m.