tests/testthat/test-neighbor_nms.R

context("neighbor nms")

test_that("nn", {
  expect_equal(neighbor_nms(gr, "a"), c("b", "d"))
  expect_equal(neighbor_nms(gr, "d"), c("a", "b", "c"))
})
jdreyf/ezlimmaplot documentation built on Feb. 8, 2025, 2:25 a.m.