(c, postfix)
| 72 | } |
| 73 | |
| 74 | function test_parseInt(c, postfix) { |
| 75 | // Skip if prefix is a digit. |
| 76 | if (c >= "0" && c <= "9") return; |
| 77 | var str = c + c + "123" + postfix; |
| 78 | if (is_whitespace(c)) { |
| 79 | assertEquals(123, parseInt(str)); |
| 80 | } else { |
| 81 | assertEquals(NaN, parseInt(str)); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | function test_eval(c, content) { |
| 86 | if (!is_whitespace(c)) return; |
no test coverage detected
searching dependent graphs…