()
| 79 | |
| 80 | // Test array sorting with holes in the array. |
| 81 | function TestArraySortingWithHoles() { |
| 82 | var a = []; |
| 83 | a[4] = "18"; |
| 84 | a[10] = "12"; |
| 85 | a.sort(); |
| 86 | assertEquals(11, a.length); |
| 87 | assertEquals("12", a[0]); |
| 88 | assertEquals("18", a[1]); |
| 89 | } |
| 90 | |
| 91 | TestArraySortingWithHoles(); |
| 92 |
no test coverage detected
searching dependent graphs…