Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 3869

Macaulay2-1.3.1-8.fc15.i686.rpm

<?xml version="1.0" encoding="utf-8" ?>  <!-- for emacs: -*- coding: utf-8 -*- -->
<!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"	 "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>TEST -- package item: register a test of the package</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_writing_spdocumentation.html">next</a> | <a href="_document.html">previous</a> | <a href="_writing_spdocumentation.html">forward</a> | <a href="_document.html">backward</a> | <a href="_creating_spa_sppackage.html">up</a> | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div>

    </td>
  </tr>
</table>
<div><a href="index.html" title="">Macaulay2Doc</a> > <a href="___The_sp__Macaulay2_splanguage.html" title="">The Macaulay2 language</a> > <a href="_packages.html" title="">packages</a> > <a href="_creating_spa_sppackage.html" title="">creating a package</a> > <a href="___T__E__S__T.html" title="package item: register a test of the package">TEST</a></div>
<hr/>
<div><h1>TEST -- package item: register a test of the package</h1>
<div class="single"><h2>Synopsis</h2>
<ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>TEST s</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>s</tt>, a string or list of strings containing Macaulay2 code</span></li>
</ul>
</div>
</li>
<li><div class="single">Consequences:<ul><li>Registers the string <tt>s</tt> as a test of the current package</li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div>This function should only occur in the documentation section of a package.  Use <a href="_check.html" title="perform tests of a package">check</a> to run all of the tests associated to a package.<p/>
For an example, see <a href="_an_spexample_spof_spa_sppackage.html" title="">an example of a package</a></div>
</div>
<div class="single"><h2>Caveat</h2>
<div>When creating tests, try to insure that they run relatively quickly.</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_begin__Documentation.html" title="package item: start documentation section">beginDocumentation</a> -- package item: start documentation section</span></li>
<li><span><a href="_assert.html" title="assert something is true">assert</a> -- assert something is true</span></li>
</ul>
</div>
<div class="waystouse"><h2>Ways to use <tt>TEST</tt> :</h2>
<ul><li>TEST(List)</li>
<li>TEST(String)</li>
</ul>
</div>
</div>
</body>
</html>