Skip to content

Commit

Permalink
test: fold sample_pa() tests into test-games.R
Browse files Browse the repository at this point in the history
test: fold `sample_bipartite()` tests into `test-games`

test: fold `test-hsbm` into `test-games`

test: fold `test-chung_lu` into `test-games`
  • Loading branch information
maelle committed Dec 13, 2024
1 parent 68caeb3 commit de0c363
Show file tree
Hide file tree
Showing 7 changed files with 345 additions and 341 deletions.
18 changes: 0 additions & 18 deletions tests/testthat/_snaps/bipartite.random.game.md

This file was deleted.

18 changes: 18 additions & 0 deletions tests/testthat/_snaps/games.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,21 @@
Error in `sample_degseq()`:
! At vendor/cigraph/src/games/degree_sequence_vl/gengraph_mr-connected.cpp:<linenumber> : Cannot realize the given degree sequence as an undirected, simple graph. Invalid value

# sample_bipartite() deprecation

Code
s <- sample_bipartite(10, 5, type = "gnp", p = 0)
Condition
Warning:
`sample_bipartite()` was deprecated in igraph 2.1.3.
i Please use `sample_bipartite_gnp()` instead.

---

Code
s <- sample_bipartite(10, 5, type = "gnm", m = 0)
Condition
Warning:
`sample_bipartite()` was deprecated in igraph 2.1.3.
i Please use `sample_bipartite_gnm()` instead.

76 changes: 0 additions & 76 deletions tests/testthat/test-ba.game.R

This file was deleted.

115 changes: 0 additions & 115 deletions tests/testthat/test-bipartite.random.game.R

This file was deleted.

13 changes: 0 additions & 13 deletions tests/testthat/test-chung_lu.R

This file was deleted.

Loading

0 comments on commit de0c363

Please sign in to comment.