Skip to content

Commit

Permalink
speed up generate partitions check
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Feb 22, 2021
1 parent 2508c8a commit eaa8431
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-generate_partitions.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test_that("num_tfs_sampler works as expected", {
num_modules <- 8

samples <- map(
seq_len(10000),
seq_len(1000),
~ .generate_partitions(num_tfs, num_modules, min_elements_per_group = 1)
)

Expand All @@ -24,7 +24,7 @@ test_that("num_tfs_sampler works as expected", {
num_modules <- 13

samples <- map(
seq_len(10000),
seq_len(1000),
~ .generate_partitions(num_tfs, num_modules, min_elements_per_group = 1)
)

Expand All @@ -41,11 +41,11 @@ test_that("num_tfs_sampler works as expected", {


test_that("num_tfs_sampler works as expected", {
num_tfs <- 10000
num_tfs <- 1000
num_modules <- 8

samples <- map(
seq_len(10000),
seq_len(1000),
~ .generate_partitions(num_tfs, num_modules, min_elements_per_group = 1)
)

Expand Down

0 comments on commit eaa8431

Please sign in to comment.