Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gluc committed Jan 6, 2017
1 parent 2cba547 commit 86f544c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion man/RunGUI.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/testthat/test-Visualize.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ test_that("Visualize", {
graph <- GetGraph(carAhp)
expect_equal(class(graph), "dgr_graph")
expect_equal(dim(graph$nodes_df), c(18, 10))
expect_equal(names(graph$nodes_df), c("nodes", "type", "label", "tooltip", "style", "shape", "color", "fillcolor", "penwidth", "fontname"))
expect_equal(dim(graph$edges_df), c(24, 7))
expect_equal(names(graph$edges_df), c("from", "to", "arrowhead", "color", "penwidth", "rel", "dir"))
expect_equal(names(graph$nodes_df), c("id", "type", "label", "tooltip", "style", "shape", "color", "fillcolor", "penwidth", "fontname"))
expect_equal(dim(graph$edges_df), c(24, 8))
expect_equal(names(graph$edges_df), c("id", "from", "to", "rel", "arrowhead", "color", "penwidth", "dir"))

})

Expand Down

0 comments on commit 86f544c

Please sign in to comment.