Nothing
library(testthat)
library(CNAIM)
context("Future Probability of Failure for 66kV OHL (Tower Line) Conductor")
test_that("pof_future_ohl_cond_132_66_33kv", {
res <- pof_future_ohl_cond_132_66_33kv(ohl_conductor = "66kV OHL (Tower Line) Conductor",
sub_division = "Cu",
placement = "Default",
altitude_m = 130,
distance_from_coast_km = 1,
corrosion_category_index = 1,
age = 12,
conductor_samp = "Medium/Normal",
corr_mon_survey = "Medium/Normal",
visual_cond = "Normal Wear",
midspan_joints = 3,
reliability_factor = "Default",
simulation_end_year = 100)
expected_value <- readRDS(system.file("testdata/pof_future_ohl_cond_132_66_33kv.rds", package =
"CNAIM"))
expect_equal(res, expected_value)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.