TEST -- package item: register a test of the package
Synopsis
-
- Usage:
- TEST s
-
Inputs:
-
s, a string or list of strings containing Macaulay2 code
-
Consequences:
-
Registers the string s as a test of the current package
Description
This function should only occur in the documentation section of a package. Use
check to run all of the tests associated to a package.
For an example, see
an example of a package
Caveat
When creating tests, try to ensure that they run relatively quickly.
Ways to use TEST :
-
TEST(List)
-
TEST(String)
-
TEST(String,String) (missing documentation)