(ptsIn, opts)
| 446 | } |
| 447 | |
| 448 | function callLinePoints(ptsIn, opts) { |
| 449 | var thisOpts = {}; |
| 450 | if(!opts) opts = {}; |
| 451 | Object.keys(baseOpts).forEach(function(key) { |
| 452 | if(opts[key] !== undefined) thisOpts[key] = opts[key]; |
| 453 | else thisOpts[key] = baseOpts[key]; |
| 454 | }); |
| 455 | return linePoints(makeCalcData(ptsIn), thisOpts); |
| 456 | } |
| 457 | |
| 458 | it('should pass along well-separated non-linear points', function() { |
| 459 | var ptsIn = [[0, 0], [10, 20], [20, 10], [30, 40], [40, 60], [50, 30]]; |
no test coverage detected
searching dependent graphs…