(colors, sizes)
| 998 | |
| 999 | it('should work with typed arrays', function(done) { |
| 1000 | function _assert(colors, sizes) { |
| 1001 | var pts = d3SelectAll('.point'); |
| 1002 | expect(pts.size()).toBe(3, '# of pts'); |
| 1003 | |
| 1004 | pts.each(function(_, i) { |
| 1005 | expect(getColor(this)).toBe(colors[i], 'color ' + i); |
| 1006 | expect(getMarkerSize(this)).toBe(sizes[i], 'size ' + i); |
| 1007 | }); |
| 1008 | } |
| 1009 | |
| 1010 | Plotly.newPlot(gd, [{ |
| 1011 | x: new Float32Array([1, 2, 3]), |
no test coverage detected
searching dependent graphs…