tests/testthat/test-smartBonds.R

test_that("smartBonds() returns NULL if smiles input is NULL or NA", {
  expect_type(smartBonds(NA, "C=C"), "NULL")
  expect_type(smartBonds(NULL, "C=C"), "NULL")
})
PengGroup/indoortransformer documentation built on May 21, 2022, 12:05 a.m.