File: index-test.js

package info (click to toggle)
node-d3-scale-chromatic 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 624 kB
  • sloc: javascript: 604; makefile: 4
file content (83 lines) | stat: -rw-r--r-- 1,819 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
var tape = require("tape"),
    d3 = require("../");

tape("exports the expected schemes", function(test) {
  test.deepEqual(Object.keys(d3).sort(), [
    "interpolateBlues",
    "interpolateBrBG",
    "interpolateBuGn",
    "interpolateBuPu",
    "interpolateCividis",
    "interpolateCool",
    "interpolateCubehelixDefault",
    "interpolateGnBu",
    "interpolateGreens",
    "interpolateGreys",
    "interpolateInferno",
    "interpolateMagma",
    "interpolateOrRd",
    "interpolateOranges",
    "interpolatePRGn",
    "interpolatePiYG",
    "interpolatePlasma",
    "interpolatePuBu",
    "interpolatePuBuGn",
    "interpolatePuOr",
    "interpolatePuRd",
    "interpolatePurples",
    "interpolateRainbow",
    "interpolateRdBu",
    "interpolateRdGy",
    "interpolateRdPu",
    "interpolateRdYlBu",
    "interpolateRdYlGn",
    "interpolateReds",
    "interpolateSinebow",
    "interpolateSpectral",
    "interpolateTurbo",
    "interpolateViridis",
    "interpolateWarm",
    "interpolateYlGn",
    "interpolateYlGnBu",
    "interpolateYlOrBr",
    "interpolateYlOrRd",
    "schemeAccent",
    "schemeBlues",
    "schemeBrBG",
    "schemeBuGn",
    "schemeBuPu",
    "schemeCategory10",
    "schemeDark2",
    "schemeGnBu",
    "schemeGreens",
    "schemeGreys",
    "schemeOrRd",
    "schemeOranges",
    "schemePRGn",
    "schemePaired",
    "schemePastel1",
    "schemePastel2",
    "schemePiYG",
    "schemePuBu",
    "schemePuBuGn",
    "schemePuOr",
    "schemePuRd",
    "schemePurples",
    "schemeRdBu",
    "schemeRdGy",
    "schemeRdPu",
    "schemeRdYlBu",
    "schemeRdYlGn",
    "schemeReds",
    "schemeSet1",
    "schemeSet2",
    "schemeSet3",
    "schemeSpectral",
    "schemeTableau10",
    "schemeYlGn",
    "schemeYlGnBu",
    "schemeYlOrBr",
    "schemeYlOrRd"
  ]);
  test.end();
});