Skip to content

Commit 97076f0

Browse files
committed
updated test-stat-density with the addition of ndensity.
1 parent 0d17df9 commit 97076f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-stat-density.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ test_that("compute_density returns useful df and throws warning when <2 values",
99
expect_warning(dens <- compute_density(1, NULL, from = 0, to = 0))
1010

1111
expect_equal(nrow(dens), 1)
12-
expect_equal(names(dens), c("x", "density", "scaled", "count", "n"))
12+
expect_equal(names(dens), c("x", "density", "scaled", "ndensity", "count", "n"))
1313
expect_type(dens$x, "double")
1414
})

0 commit comments

Comments
 (0)