Skip to content

Commit

Permalink
Replaced length with vcount function
Browse files Browse the repository at this point in the history
  • Loading branch information
Public User authored and Public User committed Apr 1, 2022
1 parent c57694a commit 3cd3fa0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added .Rhistory
Empty file.
2 changes: 1 addition & 1 deletion tests/testthat/test-NetSim.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test_that("we can simulate networks from a PointSim object", {
expect_identical(class(pl), c("NetSim", "igraph"))

# Ensures the correct length
expect_equal(length(pl), 10)
expect_equal(igraph::vcount(pl), 5)

})

0 comments on commit 3cd3fa0

Please sign in to comment.