tests/testthat/test-map-utils.R

test_that(
  "hist_xy works", {

    expect_type(
      hist_xy(matrix(runif(50), 25), list(seq(0, 1, .2), seq(0, 1, .2))),
      "list"
    )

  }
)

test_that(
  "breaks_xy works", {

    expect_type(
      breaks_xy(c(5, -45, 67, 100), 10),
      "list"
    )

  }
)

Try the finbif package in your browser

Any scripts or data that you put into this service are public.

finbif documentation built on Jan. 3, 2022, 5:09 p.m.