tests/testthat/testPTE.R

################################################################################
# Tests for the periodic table of the elements
################################################################################

test_that('PTE works', {

  expect_equal(pte[1, "Name"], "Hydrogen")
  expect_equal(pte[pte$Symbol=='K', "ElectronConfiguration"], "[Ar]4s1")

  # TODO more tests
})
abuseki/georefdatar documentation built on Aug. 12, 2024, 11:33 p.m.