-
Notifications
You must be signed in to change notification settings - Fork 464
/
Copy pathlimits_test.js
46 lines (36 loc) · 1.09 KB
/
limits_test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Generated by ReScript, PLEASE EDIT WITH CARE
'use strict';
var Mt = require("./mt.js");
var Int32 = require("../../lib/js/int32.js");
var Pervasives = require("../../lib/js/pervasives.js");
var suites = {
contents: /* [] */0
};
var test_id = {
contents: 0
};
function eq(loc, x, y) {
test_id.contents = test_id.contents + 1 | 0;
suites.contents = {
hd: [
loc + (" id " + String(test_id.contents)),
(function (param) {
return {
TAG: "Eq",
_0: x,
_1: y
};
})
],
tl: suites.contents
};
}
eq("File \"limits_test.res\", line 10, characters 5-12", Pervasives.max_int, 2147483647);
eq("File \"limits_test.res\", line 11, characters 5-12", Pervasives.min_int, -2147483648);
eq("File \"limits_test.res\", line 12, characters 5-12", Int32.max_int, 2147483647);
eq("File \"limits_test.res\", line 13, characters 5-12", Int32.min_int, -2147483648);
Mt.from_pair_suites("Limits_test", suites.contents);
exports.suites = suites;
exports.test_id = test_id;
exports.eq = eq;
/* Not a pure module */