Nothing
test_that("largest_ivs works", {
g <- sample_gnp(50, 0.8)
livs <- largest_ivs(g)
expect_that(
unique(sapply(livs, length)),
equals(ivs_size(g))
)
ec <- sapply(seq_along(livs), function(x) {
ecount(induced_subgraph(g, livs[[x]]))
})
expect_that(unique(ec), equals(0))
## TODO: check that they are largest
})
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.