Skip to content

Commit c08b71a

Browse files
committed
udpate test baseline for cable
1 parent 897cc3f commit c08b71a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tests/testthat/test-summary.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ context("summary")
22

33
test_that("summary.neuronlist behaves", {
44
expect_is(s <- summary(Cell07PNs), 'data.frame')
5-
expect_equal_to_reference(s, file = 'testdata/summary_cell07pns.rds', tolerance=1e-3)
5+
expect_known_value(s, file = test_path('testdata/summary_cell07pns.rds'), tolerance=1e-3)
66
expect_is(summary(kcs20, veclength=1.2), 'data.frame')
77

88
skip_if_not(use_natcpp())
@@ -12,8 +12,9 @@ test_that("summary.neuronlist behaves", {
1212
# a discrepancy masked by tolerance = 1e-3
1313
# this is down to some neurons having cycles
1414
expect_equal(summary(Cell07PNs), s, tolerance = 1e-3)
15-
expect_equal_to_reference(summary(Cell07PNs), file = 'testdata/summary_cell07pns.rds')
16-
15+
expect_known_value(summary(Cell07PNs),
16+
file = test_path('testdata/summary_cell07pns.rds'),
17+
tolerance=1e-3)
1718
})
1819

1920
context('print')
-1 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)