context("test-delay_propr")
test_that("function renders the right proportion of train late for more than 15 minutes", {
expect_equal(round(delay_propr("PARIS MONTPARNASSE", "NANTES", 12)$proportion_trains_en_retard_15min,2), round(0.5206186,2))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.