tests/testthat/test_utils.R

## tests for universal functions (umap_universal.R)

## ############################################################################
## Tests for exact nearest neighbors extraction

test_that("message when verbose set", {
  expect_message(message.w.date("hello", TRUE))
})

test_that("message by default when verbose not set", {
  expect_silent(message.w.date("hello"))
})

Try the umap package in your browser

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

umap documentation built on Feb. 16, 2023, 10:12 p.m.