File: symbols-test.js

package info (click to toggle)
node-d3-shape 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,388 kB
  • sloc: makefile: 11; sh: 2
file content (15 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var tape = require("tape"),
    shape = require("../");

tape("symbols is the array of symbol types", function(test) {
  test.deepEqual(shape.symbols, [
    shape.symbolCircle,
    shape.symbolCross,
    shape.symbolDiamond,
    shape.symbolSquare,
    shape.symbolStar,
    shape.symbolTriangle,
    shape.symbolWye
  ]);
  test.end();
});