aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testthat/test_pai.R8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testthat/test_pai.R b/tests/testthat/test_pai.R
index 944ad04..1718a9a 100644
--- a/tests/testthat/test_pai.R
+++ b/tests/testthat/test_pai.R
@@ -1,8 +1,8 @@
context("Generation of pai objects")
glyphosate <- pai$new("glyphosate", chyaml = FALSE)
-
-test_that("We can generate a pai object from its ISO common name", {
+
+test_that("a pai object is generated from its ISO common name", {
expect_equivalent(glyphosate$alanwood$cas, "1071-83-6")
expect_equivalent(glyphosate$alanwood$formula, "C3H8NO5P")
expect_equivalent(glyphosate$alanwood$iupac_name, "N-(phosphonomethyl)glycine")
@@ -12,8 +12,8 @@ test_that("We can generate a pai object from its ISO common name", {
expect_equal(glyphosate$inchikey, ik)
})
-test_that("RDKit information was added", {
- expect_equivalent(glyphosate$rdkit$mw, 169.073)
+test_that("a pai object is generated from an ambiguous name", {
+ deltamethrin <- pai$new("deltamethrin", chyaml = FALSE)
})
test_that("PubChem information was added via webchem", {

Contact - Imprint