Deserialize test

This commit is contained in:
Manuel Araoz 2014-02-19 14:30:48 -03:00
parent 339ef3073b
commit c693d01a44
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ module.exports.base58 = require('base58-native');
module.exports.buffertools = require('buffertools');
module.exports.config = require('./config');
module.exports.const = require('./const');
module.exports.Deserialize = require('./Deserialize');
module.exports.log = require('./util/log');
module.exports.networks = require('./networks');
module.exports.util = require('./util/util');

View File

@ -22,6 +22,10 @@ describe('Miscelaneous stuff', function() {
it('should initialze the const object', function() {
should.exist(bitcore.const);
});
it('should initialze the Deserialize object', function() {
should.exist(bitcore.Deserialize);
should.exist(bitcore.Deserialize.intFromCompact);
});
// bignum