From: <ne...@us...> - 2012-08-06 21:41:09
|
Revision: 13532 http://swig.svn.sourceforge.net/swig/?rev=13532&view=rev Author: neha1 Date: 2012-08-06 21:41:03 +0000 (Mon, 06 Aug 2012) Log Message: ----------- Added test case for preproc_include. From: Neha Narang <nar...@gm...> Added Paths: ----------- branches/gsoc2012-javascript/Examples/test-suite/javascript/preproc_include_runme.js Added: branches/gsoc2012-javascript/Examples/test-suite/javascript/preproc_include_runme.js =================================================================== --- branches/gsoc2012-javascript/Examples/test-suite/javascript/preproc_include_runme.js (rev 0) +++ branches/gsoc2012-javascript/Examples/test-suite/javascript/preproc_include_runme.js 2012-08-06 21:41:03 UTC (rev 13532) @@ -0,0 +1,22 @@ + +if (preproc_include.multiply10(10) != 100) + throw "RuntimeError"; + +if (preproc_include.multiply20(10) != 200) + throw "RuntimeError"; + +if (preproc_include.multiply30(10) != 300) + throw "RuntimeError"; + +if (preproc_include.multiply40(10) != 400) + throw "RuntimeError"; + +if (preproc_include.multiply50(10) != 500) + throw "RuntimeError"; + +if (preproc_include.multiply60(10) != 600) + throw "RuntimeError"; + +if (preproc_include.multiply70(10) != 700) + throw "RuntimeError"; + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |