t-viSNE: Interactive Assessment and Interpretation of t-SNE Projections https://doi.org/10.1109/TVCG.2020.2986996
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
t-viSNE/modules/d3-legend/test/test.js

20 lines
505 B

const chai = require('chai')
const expect = chai.expect
describe('d3-legend', function () {
var d3Legend
beforeEach(function () {
d3Legend = require('../no-extend')
})
it('should export an object', function () {
expect(d3Legend).to.be.an('object')
})
it('should have color, size & symbol functions', function () {
['color','size','symbol'].forEach(function (fieldName) {
expect(d3Legend[fieldName]).to.be.a('function')
})
})
})