Skip to content

Commit

Permalink
Deserialize test
Browse files Browse the repository at this point in the history
  • Loading branch information
maraoz committed Feb 19, 2014
1 parent 339ef30 commit c693d01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions bitcore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 4 additions & 0 deletions test/test.misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c693d01

Please sign in to comment.