Skip to content

Commit

Permalink
Adjusting tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
nsjohnsen committed Apr 8, 2024
1 parent 67edc13 commit 2f1503a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ test_that("Base case: targets pipeline works", {
expect_equal(NROW(ep_stat), 36)
expect_equal(NCOL(ep_stat), 37)
expect_snapshot_value(ep_stat$stat_result_value,
tolerance = 1e-6,
tolerance = 1e-8,
style = "json2")

})
Expand Down Expand Up @@ -119,7 +119,7 @@ test_that("targets pipeline works no criteria fn and missing by_* functions", {
expect_equal(NROW(ep_stat), 18)
expect_equal(NCOL(ep_stat), 37)
expect_snapshot_value(ep_stat$stat_result_value,
tolerance = 1e-6,
tolerance = 1e-8,
style = "json2")

})
Expand Down Expand Up @@ -171,7 +171,7 @@ test_that("branching after prepare for stats step works", {
expect_equal(NROW(ep_stat), 12)
expect_equal(NCOL(ep_stat), 37)
expect_snapshot_value(ep_stat$stat_result_value,
tolerance = 1e-6,
tolerance = 1e-8,
style = "json2")

})
Expand Down

0 comments on commit 2f1503a

Please sign in to comment.