(actual, expected)
| 160 | } |
| 161 | |
| 162 | function assertEventData(actual, expected) { |
| 163 | expect(actual.points.length).toBe(expected.points.length); |
| 164 | |
| 165 | expected.points.forEach(function(e, i) { |
| 166 | var a = actual.points[i]; |
| 167 | if(a) { |
| 168 | expect(a.r).toBe(e.r, 'r'); |
| 169 | expect(a.theta).toBe(e.theta, 'theta'); |
| 170 | } |
| 171 | }); |
| 172 | } |
| 173 | |
| 174 | it('@gl should be able to toggle from svg to gl', function(done) { |
| 175 | gd = createGraphDiv(); |
no outgoing calls
no test coverage detected
searching dependent graphs…