diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/runner.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/runner.scm b/test/runner.scm index 0123d9a..45f2b0c 100644 --- a/test/runner.scm +++ b/test/runner.scm @@ -10,7 +10,13 @@ (test-begin "runner") -(test-assert "Make sure species-meta contains a link to tomato" +(test-assert "species-meta is expected contain a link to tomato" (assoc "tomato" (cdr (assoc "links" (get-species-meta))))) +(test-assert "tomato-meta should have a document link" + (assoc "doc" (get-expanded-taxon-meta "tomato"))) + +(test-equal "tomato-data should have a description" + (assoc-ref (get-expanded-taxon-data "tomato") "description") "type of plant species with edible, often red, berry fruit") + (test-end "runner") |