inst/tinytest/testCircuit.R

data("demoCircuit")
racipe <- RacipeSE()
sracipeCircuit(racipe) <- demoCircuit
tmp1 <- sracipeCircuit(racipe)
storage.mode(demoCircuit$Type) <- "character"
sracipeCircuit(racipe) <- demoCircuit
tmp2 <- sracipeCircuit(racipe)
tinytest::expect_equal(tmp1,tmp2)
vivekkohar/sRACIPE documentation built on March 21, 2021, 8:19 p.m.