tests/testthat/test-s_cof_swg_tf_ohl.R

library(testthat)
library(CNAIM)

context("Numeric. Safety consequences of failure")

test_that("s_cof_swg_tf_ohl", {
  expect_equal(s_cof_swg_tf_ohl(type_risk = "Default",
                                location_risk = "Default",
                                asset_type_scf = "6.6/11kV Transformer (GM)"), 4823)
})

Try the CNAIM package in your browser

Any scripts or data that you put into this service are public.

CNAIM documentation built on Aug. 31, 2022, 9:13 a.m.