junderw
dc1ef5958b
Tests to arrow functions, use strict asserts, travis uses docker instead of regtest server
2019-04-09 15:09:50 +09:00
Daniel Cousens
16195cc6ce
explicitly import mocha variables
2018-07-23 17:45:01 +10:00
Daniel Cousens
a5db0a4e44
sed -i 's/ var / const /', with const->let fixes
2018-06-25 18:26:23 +10:00
Daniel Cousens
91b8823aa8
sed -i 's/^var /const /'
2018-06-25 16:25:46 +10:00
Daniel Cousens
549b36bf1a
rm deprecated bufferutils
2018-04-14 01:15:22 +10:00
Daniel Cousens
f1ab151c31
tests: use safe-buffers throughout
2017-05-23 18:39:53 +10:00
Daniel Cousens
29a865788d
use varuint-bitcoin
2016-10-07 10:55:34 +11:00
Daniel Cousens
fd40232147
package: remove buffer-compare/buffer-equals
2016-10-06 21:31:10 +11:00
Daniel Cousens
731a31ecba
use buffer-reverse
2015-09-25 17:49:05 +10:00
Daniel Cousens
ec9cea0cf1
tests: use strictEqual always
2015-05-07 11:29:20 +10:00
Daniel Cousens
11bba2a8e7
tests: remove bufferutils.equal tests
2015-04-27 12:06:01 +10:00
Daniel Cousens
2f100e0eae
tests: add failing pushDataInt fixtures
2015-03-04 20:47:52 +11:00
Daniel Cousens
5beee20038
bufferutils: add equal
2015-03-02 17:32:20 +11:00
Daniel Cousens
399803affa
use standardjs formatting
2015-02-24 12:45:38 +11:00
Daniel Cousens
2214ccfdd8
bufferutils: add varIntBuffer
2014-11-28 10:35:53 +11:00
Daniel Cousens
71d4c78b88
bufferutils: add Buffer reverse
2014-08-27 12:37:11 +10:00
Wei Lu
c76d3cef37
Merge pull request #202 from dcousens/ecneg
...
ECKey -D test and light cleanup
2014-06-03 13:38:25 +08:00
Daniel Cousens
5b7873d05b
bufferutils: test fixture filename copies parent
2014-05-31 14:24:43 +10:00
Daniel Cousens
b9bdf21cbe
bufferutils: use verifuint for 64 bit integers
...
Taken from browserify-buffer.
Also adds a few more tests to assert this is working correctly from both
read and write perspectives.
The assertion in for writePushDataInt in the 32 bit case was
unnecessary as that is handled by buffer.writeUInt32LE anyway.
2014-05-31 14:24:43 +10:00
Daniel Cousens
7e9b5d8584
bufferutils: return opcode for use
2014-05-30 17:54:33 +10:00
Daniel Cousens
bda1a8321c
bufferutils: unrolls tests and adds more 16 bit test fixtures
2014-05-29 16:26:15 +10:00
Daniel Cousens
d18f2dba00
bufferutils: add PUSHDATA implementation
2014-05-29 16:06:19 +10:00
Daniel Cousens
b2351f9026
tests: use JSON fixtures exclusively
2014-05-24 00:52:24 +10:00
Daniel Cousens
6c0eebe94b
tests: use filepaths directly
...
After a long IRC discussion, it was decided that the use of direct
filepaths instead of the module is a more pure form of testing ,
although it may provide less overall coverage than the mixed integration
style imports used previously.
This will need to be remedied by further integration testing in
/test/integration.
2014-05-13 18:05:56 +10:00
Daniel Cousens
7a740c2e7b
tests: forces consistent import syntax
2014-05-13 16:46:08 +10:00