OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS empty value |
| 3 PASS value = 11 |
| 4 PASS value = 11.12 |
| 5 PASS value = -11111 |
| 6 PASS value = -11111.123 |
| 7 PASS value = 1e2 |
| 8 PASS value = 1E2 |
| 9 PASS value = 1e+2 |
| 10 PASS value = 1e-2 |
| 11 PASS value is not a valid floating-point number: 1d+2 |
| 12 PASS value not a valid floating-point number: random string |
| 13 PASS Value >= min attribute |
| 14 PASS Value < min attribute |
| 15 PASS Value <= max attribute |
| 16 PASS Value > max attribute |
| 17 PASS value with a leading '.' |
| 18 FAIL value ending with '.' assert_equals: expected "" but got "1." |
| 19 PASS value = -0 |
| 20 PASS value = Infinity |
| 21 PASS value = -Infinity |
| 22 PASS value = NaN |
| 23 FAIL value = 2^53+1 assert_equals: expected "9007199254740992" but got "90071992
54740993" |
| 24 PASS value >= Number.MAX_VALUE |
| 25 PASS value = 1e |
| 26 FAIL value = +1 assert_equals: expected "1" but got "" |
| 27 PASS value = '+' |
| 28 PASS value = '-' |
| 29 FAIL value with a leading whitespace assert_equals: expected "1" but got "" |
| 30 FAIL value = 1trailing junk assert_equals: expected "1" but got "" |
| 31 Harness: the test ran to completion. |
| 32 |
OLD | NEW |