tests/testthat/test-get-options.R

context("get_options")

test_that("get_options() yields correct output", {
  testthat::skip_on_cran()

  expect_output(get_options(alg = "saga:slopeaspectcurvature", intern = FALSE))

  expect_is(
    get_options(alg = "saga:slopeaspectcurvature", intern = TRUE),
    "character"
  )
})
jannes-m/RQGIS3 documentation built on Oct. 12, 2020, 7:28 a.m.