|
1 | 1 | module.exports = { |
2 | | - pointsWithIntegers: [[0, 10], [10, 70], [20, 45], [30, 100], [40, 10], [60, 80]], |
3 | | - pointsWithNegatives: [[0, -10], [-10, -70], [20, -45], [-30, 100], [40, -10], [-60, 80]], |
4 | | - pointsWithDecimals: [[0.001, -10.92], [-10, -7230.87], [20.21, -45.0]], |
5 | | - pointsUnordered: [[20, 45], [0, 10], [40, 10], [10, 70], [60, 80], [30, 100]], |
6 | | - pointsRandom: (() => { |
| 2 | + integers: [[0, 10], [10, 70], [20, 45], [30, 100], [40, 10], [60, 80]], |
| 3 | + negative: [[0, -10], [-10, -70], [20, -45], [-30, 100], [40, -10], [-60, 80]], |
| 4 | + decimals: [[0.001, -10.92], [-10, -7230.87], [20.21, -45.0]], |
| 5 | + unordered: [[20, 45], [0, 10], [40, 10], [10, 70], [60, 80], [30, 100]], |
| 6 | + random: (() => { |
7 | 7 | const data = []; |
8 | 8 | for (let i = 0; i < 100; i += 1) { |
9 | 9 | data.push([i, Math.random() * 20]); |
10 | 10 | } |
11 | 11 | return data; |
12 | 12 | })(), |
13 | | - pointsExtreme: [[0, 50], [10, 100], [20, 10], [30,300]], |
| 13 | + extreme: [[0, 0], [28, 0.97], [29, 19.69], [30, 19.63], [31, 7.96], [60, 0]], |
14 | 14 | }; |
0 commit comments