summaryrefslogtreecommitdiff
path: root/Examples/test-suite/javascript/preproc_include_runme.js
blob: 5ec72b842d368f79a1910863e5bf46b52d9d4e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
var preproc_include = require("preproc_include");

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";