context("dijkstra")
test_that("dijkstra runs without errors", {
graph <- randomGraph(n=10,euclidean=FALSE)
r <- dijkstra(graph,"A","J")
expect_is(r,"spresults")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.