Skip to content

Commit

Permalink
add test for index PVAFF
Browse files Browse the repository at this point in the history
  • Loading branch information
markheckmann committed May 9, 2020
1 parent 13ab80d commit 2151cf9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testthat/test-indexes.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Test for for indexes to return correct values, e.g.
# tested against other software

test_that("PVAFF returns expected value", {
v <- indexPvaff(boeker)
expect_equal(v, 0.42007)
})

0 comments on commit 2151cf9

Please sign in to comment.