|
1 // Any copyright is dedicated to the Public Domain. |
|
2 // http://creativecommons.org/licenses/publicdomain/ |
|
3 |
|
4 testJSON('-', true); |
|
5 testJSON('+', true); |
|
6 testJSON('-f', true); |
|
7 testJSON('+f', true); |
|
8 testJSON('00', true); |
|
9 testJSON('01', true); |
|
10 testJSON('1.', true); |
|
11 testJSON('1.0e', true); |
|
12 testJSON('1.0e+', true); |
|
13 testJSON('1.0e-', true); |
|
14 testJSON('1.0e+z', true); |
|
15 testJSON('1.0e-z', true); |
|
16 testJSON('1.0ee', true); |
|
17 testJSON('1.e1', true); |
|
18 testJSON('1.e+1', true); |
|
19 testJSON('1.e-1', true); |
|
20 testJSON('.', true); |
|
21 testJSON('.1', true); |
|
22 testJSON('.1e', true); |
|
23 testJSON('.1e1', true); |
|
24 testJSON('.1e+1', true); |
|
25 testJSON('.1e-1', true); |
|
26 |
|
27 /******************************************************************************/ |
|
28 |
|
29 if (typeof reportCompare === "function") |
|
30 reportCompare(true, true); |
|
31 |
|
32 print("Tests complete"); |