tests/testthat/test-is_na.R

context("is_na.R")

test_that("locus",{
  loc1 <- locus()
  loc2 <- locus( 1:2 )
  
  expect_true( is.na(loc1) )
  expect_false( is.na(loc2) )
})
dyerlab/gstudio documentation built on Feb. 2, 2024, 8:24 p.m.