tests/testthat/test-gprocess.R

context("growth process")

test_that("conversion to and from growth process", {
  path <- list(1L, 2L, c(2L,1L), c(3L,1L), c(3L,1L,1L))
  syt <- gprocess2syt(path)
  expect_identical(path, syt2gprocess(syt))
})

Try the syt package in your browser

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

syt documentation built on Jan. 16, 2021, 5:19 p.m.