Daniel Cousens
a17a5b23d9
ec: fix point decoding for other curves
2014-05-22 12:33:47 +10:00
Daniel Cousens
24371425f9
ec: decodeFrom now uses Buffers and handles errors
2014-05-18 17:52:49 +10:00
Daniel Cousens
ccca6989b5
ec: getEncoded now uses Buffer API
2014-05-18 17:52:49 +10:00
Daniel Cousens
1c76bdf9c3
ec: add better test vectors for ECPointFp encode/decode
...
These test vectors were generated internally.
2014-05-18 17:52:49 +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
Wei Lu
af1f121fd4
upgrade bigi & remove monkey patching
2014-05-03 10:04:54 +08:00
Daniel Cousens
ae60e6eb95
Replacse JSBN with bigi
2014-04-22 02:19:30 +10:00
Daniel Cousens
873dc95321
Isolates test/ec.js ECPointFp.decodeFrom tests
2014-04-22 02:08:00 +10:00
Daniel Cousens
96ebb65099
Removes ecdsa.getBigRandom
2014-04-22 02:04:56 +10:00
Daniel Cousens
b4f70dcdde
Migrates ECKey to stricter API
2014-04-18 06:36:27 +10:00
Daniel Cousens
827f00715c
Moves test/misc.js tests to appropriate location
2014-04-17 04:10:05 +10:00
Daniel Cousens
6de94856e3
Makes ECDSA capitalization consistent
2014-04-09 04:11:13 +10:00
Daniel Cousens
1df5fadc6f
Renames test description appropriately
2014-04-08 17:35:03 +10:00
Wei Lu
93fe1b4c78
cosmetic standardization
...
[closes #56 ]
2014-03-31 11:47:47 +08:00
Kyle Drake
c277fed4e1
cleanup runners, add coverage script, fix typo
2014-03-11 12:23:37 -07:00
Andreas Brekken
f591cc0111
Reformat all tests for more modern mocha syntax (describe, it)
2014-01-11 13:57:43 +07:00
Roman Shtylman
0faac29134
start to split into node commonjs style modules
...
- no longer is the global Bitcoin used for modules
- cleaner and more maintainable code
- add more tests
2013-02-17 00:40:14 -05:00