29 lines
502 B
JavaScript
29 lines
502 B
JavaScript
'use strict';
|
|
|
|
var chai = chai || require('chai');
|
|
var bitcore = bitcore || require('../bitcore');
|
|
|
|
var should = chai.should();
|
|
|
|
var SINModule = bitcore.SIN;
|
|
var SIN;
|
|
|
|
describe('SIN', function() {
|
|
it('should initialze the main object', function() {
|
|
should.exist(SINModule);
|
|
});
|
|
it('should be able to create class', function() {
|
|
SIN = SINModule;
|
|
should.exist(SIN);
|
|
});
|
|
it('should be able to create instance', function() {
|
|
var s = new SIN();
|
|
should.exist(s);
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
|