tests/testthat/test-enumerate_all_paths.R

test_that("enumerate_all_paths() works", {
  expect_snapshot({
    enumerate_all_paths(dm_for_filter_w_cycle(), "tf_1")
    enumerate_all_paths(dm_for_filter_w_cycle(), "tf_5")
    enumerate_all_paths(entangled_dm(), "a")
    enumerate_all_paths(entangled_dm(), "c")
    enumerate_all_paths(entangled_dm_2(), "a")
    enumerate_all_paths(entangled_dm_2(), "d")
  })
})

Try the dm package in your browser

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

dm documentation built on Nov. 2, 2023, 6:07 p.m.