bitcore/test/test.SIN.js

29 lines
502 B
JavaScript
Raw Normal View History

2014-02-17 12:55:56 -08:00
'use strict';
var chai = chai || require('chai');
var bitcore = bitcore || require('../bitcore');
2014-02-17 12:55:56 -08:00
var should = chai.should();
2014-02-19 11:07:50 -08:00
var SINModule = bitcore.SIN;
var SIN;
2014-02-17 12:55:56 -08:00
2014-02-19 11:07:50 -08:00
describe('SIN', function() {
2014-02-17 12:55:56 -08:00
it('should initialze the main object', function() {
2014-02-19 11:07:50 -08:00
should.exist(SINModule);
2014-02-17 12:55:56 -08:00
});
it('should be able to create class', function() {
SIN = SINModule;
2014-02-19 11:07:50 -08:00
should.exist(SIN);
2014-02-17 12:55:56 -08:00
});
it('should be able to create instance', function() {
2014-02-19 11:07:50 -08:00
var s = new SIN();
should.exist(s);
2014-02-17 12:55:56 -08:00
});
});
2014-02-19 11:07:50 -08:00