Browse Source

added references to bitcoin/bitcoin tests

patch-2
Manuel Araoz 11 years ago
parent
commit
d77cc28f7a
  1. 2
      test/test.misc.js

2
test/test.misc.js

@ -61,6 +61,8 @@ describe('Miscelaneous stuff', function() {
});
test_data.dataEncodeDecode.forEach(function(datum) {
it('base58 encode/decode checks ' + datum, function() {
// from bitcoin/bitcoin tests:
// Goal: test low-level base58 encoding functionality
base58.encode(new Buffer(datum[0], 'hex')).should.equal(datum[1]);
buffertools.toHex(base58.decode(datum[1])).should.equal(datum[0]);
});

Loading…
Cancel
Save