1 // # $Id: Kinetic.pm 1493 2005-04-07 19:20:18Z theory $
4 if (typeof JSAN != 'undefined') new JSAN().use('Test.Builder');
6 if (typeof Test == 'undefined' || typeof Test.Builder == 'undefined')
8 "You must load either JSAN or Test.Builder "
9 + "before loading Test.Simple"
14 Test.Simple.EXPORT = ['plan', 'ok'];
15 Test.Simple.EXPORT_TAGS = { ':all': Test.Simple.EXPORT };
16 Test.Simple.VERSION = '0.11';
18 Test.Simple.plan = function (cmds) {
19 return Test.Simple.Test.plan(cmds);
22 Test.Simple.ok = function (val, desc) {
23 return Test.Simple.Test.ok(val, desc);
27 if (typeof JSAN == 'undefined') Test.Builder.exporter(Test.Simple);
29 Test.Simple.Test = new Test.Builder();