Artifact aa27a0b83e9de985e7d206650bfbeeb29e430c78
<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>tricks.test</title>
<link rel="stylesheet" type="text/css" href="candydoc/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]-->
<script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("tricks.test");</script>
<table class="content">
<tr><td id="docbody"><h1>tricks.test</h1><!-- Generated by Ddoc from tricks\test.d -->
<b>Authors:</b><br>
k.inaba
<br><br>
<b>License:</b><br>
NYSL 0.9982 http://www.kmonos.net/nysl/
<br><br>
Hepler routines for unittesting.
<br><br>
<b>TODO:</b><br>
Is there any clean way to implement "assert_compiles" and "assert_not_compile"?<br><br>
<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void
<span class="currsymbol">assert_throw</span>
<script>explorer.outline.addDecl('assert_throw');</script>
(ExcT = Throwable, T, string fn = __FILE__, size_t ln = __LINE__)(lazy T <span class="funcparam">t</span>, string <span class="funcparam">msg</span> = "");
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>Unittest helper that asserts an expression must throw something<br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">T
<span class="currsymbol">assert_nothrow</span>
<script>explorer.outline.addDecl('assert_nothrow');</script>
(T, string fn = __FILE__, size_t ln = __LINE__)(lazy T <span class="funcparam">t</span>, string <span class="funcparam">msg</span> = "");
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>Unittest helper that asserts an expression must not throw anything<br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias
<span class="currsymbol">assert_eq</span>
<script>explorer.outline.addDecl('assert_eq');</script>
;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>asserts two operands are ==<br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias
<span class="currsymbol">assert_ne</span>
<script>explorer.outline.addDecl('assert_ne');</script>
;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>asserts two operands are !=<br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias
<span class="currsymbol">assert_lt</span>
<script>explorer.outline.addDecl('assert_lt');</script>
;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>asserts two operands are <<br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias
<span class="currsymbol">assert_le</span>
<script>explorer.outline.addDecl('assert_le');</script>
;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>asserts two operands are <=<br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias
<span class="currsymbol">assert_gt</span>
<script>explorer.outline.addDecl('assert_gt');</script>
;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>asserts two operands are ><br><br>
</dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias
<span class="currsymbol">assert_ge</span>
<script>explorer.outline.addDecl('assert_ge');</script>
;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>asserts two operands are >=<br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>
</td></tr>
<tr><td id="docfooter">
Page was generated with
<img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px">
on Wed Nov 24 21:12:49 2010
</td></tr>
</table>
</div>
<script>
explorer.packageExplorer.addModule("index");
explorer.packageExplorer.addModule("main");
explorer.packageExplorer.addModule("tricks.tricks");
explorer.packageExplorer.addModule("tricks.test");
explorer.packageExplorer.addModule("polemy._common");
explorer.packageExplorer.addModule("polemy.failure");
explorer.packageExplorer.addModule("polemy.layer");
explorer.packageExplorer.addModule("polemy.fresh");
explorer.packageExplorer.addModule("polemy.lex");
explorer.packageExplorer.addModule("polemy.parse");
explorer.packageExplorer.addModule("polemy.ast");
explorer.packageExplorer.addModule("polemy.value");
explorer.packageExplorer.addModule("polemy.valueconv");
explorer.packageExplorer.addModule("polemy.eval");
explorer.packageExplorer.addModule("polemy.runtime");
explorer.packageExplorer.addModule("polemy.repl");</script>
</body></html>