tests/testthat/testforint.R

context("Forint output")

library(mr)

test_that("forint returns HUF symbol appended to the input amount", {
  expect_match(forint(42), "42 HUF")
})
zsofivamos/mr documentation built on June 16, 2020, 1:39 a.m.