(c, infix)
| 63 | } |
| 64 | |
| 65 | function test_trim(c, infix) { |
| 66 | var str = c + c + c + infix + c; |
| 67 | if (is_whitespace(c)) { |
| 68 | assertEquals(infix, str.trim()); |
| 69 | } else { |
| 70 | assertEquals(str, str.trim()); |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | function test_parseInt(c, postfix) { |
| 75 | // Skip if prefix is a digit. |
no test coverage detected