tests/testthat/test-set_WHO_constants.R

context("test-set_WHO_constants")

test_that("threshold values are set to appropriate values", {
  expect_equal(setDiseaseThreshold("Onchocerciasis"), 65)
})

test_that("threshold values are set to appropriate values", {
  expect_equal(setDiseaseThreshold("Trachoma"), 80)
})

test_that("threshold values are set to appropriate values", {
  expect_equal(setDiseaseThreshold("STH"), 75)
})
matthewkol186/csat documentation built on June 11, 2019, 1:57 p.m.