context("unpaid")
test_that("unpaid", {
expect_equal(pts_rate_unpaid_leave(35000L, 20L), 145.8333333)
expect_equal(pts_rate_unpaid_leave(35000, 20), 145.8333333)
expect_equal(pts_rate_unpaid_leave(c(35000, 70000), c(20, 10)), c(145.8333333, 280.0000))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.