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.
28 lines
615 B
28 lines
615 B
'use strict';
|
|
|
|
var chai = chai || require('chai');
|
|
var bitcore = bitcore || require('../bitcore');
|
|
|
|
var should = chai.should();
|
|
|
|
var EncodedDataModule = bitcore.EncodedData;
|
|
var EncodedData;
|
|
|
|
describe('EncodedData', function() {
|
|
it('should initialze the main object', function() {
|
|
should.exist(EncodedDataModule);
|
|
});
|
|
it('should be able to create class', function() {
|
|
EncodedData = EncodedDataModule;
|
|
should.exist(EncodedData);
|
|
});
|
|
it('should be able to create an instance', function() {
|
|
var ed = new EncodedData('1GMx4HdDmN78xzGvdQYkwrVqkmLDG1aMNT');
|
|
should.exist(ed);
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|