capitalize classes in tests
This commit is contained in:
parent
b783b58762
commit
9cc214cf06
|
@ -3,7 +3,7 @@ var constants = require('../lib/constants');
|
|||
var Pubkey = require('../lib/pubkey');
|
||||
var Address = require('../lib/address');
|
||||
|
||||
describe('address', function() {
|
||||
describe('Address', function() {
|
||||
var pubkeyhash = new Buffer('3c3fa3d4adcaf8f52d5b1843975e122548269937', 'hex');
|
||||
var str = '16VZnHwRhwrExfeHFHGjwrgEMq8VcYPs9r';
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var should = require('chai').should();
|
|||
var base58check = require('../lib/base58check');
|
||||
var base58 = require('../lib/base58');
|
||||
|
||||
describe('base58check', function() {
|
||||
describe('Base58check', function() {
|
||||
var buf = new Buffer([0, 1, 2, 3, 253, 254, 255]);
|
||||
var enc = "14HV44ipwoaqfg";
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ var should = chai.should();
|
|||
var assert = chai.assert;
|
||||
var BN = require('../lib/bn');
|
||||
|
||||
describe('bn', function() {
|
||||
describe('BN', function() {
|
||||
it('should create a bn', function() {
|
||||
var bn = new BN(50);
|
||||
should.exist(bn);
|
||||
|
|
|
@ -8,7 +8,7 @@ var bn = require('../lib/bn');
|
|||
var point = require('../lib/point');
|
||||
var should = require('chai').should();
|
||||
|
||||
describe("ecdsa", function() {
|
||||
describe("ECDSA", function() {
|
||||
|
||||
it('should create a blank ecdsa', function() {
|
||||
var ecdsa = new ECDSA();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var should = require('chai').should();
|
||||
var Hash = require('../lib/hash');
|
||||
|
||||
describe('hash', function() {
|
||||
describe('Hash', function() {
|
||||
var buf = new Buffer([0, 1, 2, 3, 253, 254, 255]);
|
||||
var str = "test string";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ var should = require('chai').should();
|
|||
var KDF = require('../lib/kdf');
|
||||
var Hash = require('../lib/hash');
|
||||
|
||||
describe('kdf', function() {
|
||||
describe('KDF', function() {
|
||||
|
||||
describe('#buf2key', function() {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ var Privkey = require('../lib/privkey');
|
|||
var Pubkey = require('../lib/pubkey');
|
||||
var Key = require('../lib/key');
|
||||
|
||||
describe('key', function() {
|
||||
describe('Key', function() {
|
||||
|
||||
it('should make a blank key', function() {
|
||||
var key = new Key();
|
||||
|
|
|
@ -2,7 +2,7 @@ var should = require('chai').should();
|
|||
var point = require('../lib/point');
|
||||
var bn = require('../lib/bn');
|
||||
|
||||
describe('point', function() {
|
||||
describe('Point', function() {
|
||||
|
||||
it('should create a point', function() {
|
||||
var p = point();
|
||||
|
|
|
@ -3,7 +3,7 @@ var base58check = require('../lib/base58check');
|
|||
var Bn = require('../lib/bn');
|
||||
var should = require('chai').should();
|
||||
|
||||
describe('privkey', function() {
|
||||
describe('Privkey', function() {
|
||||
var hex = '96c132224121b509b7d0a16245e957d9192609c5637c6228311287b1be21627a';
|
||||
var buf = new Buffer(hex, 'hex');
|
||||
var enctestnet = 'cSdkPxkAjA4HDr5VHgsebAPDEh9Gyub4HK8UJr2DFGGqKKy4K5sG';
|
||||
|
|
|
@ -3,7 +3,7 @@ var Pubkey = require('../lib/pubkey');
|
|||
var Point = require('../lib/point');
|
||||
var Bn = require('../lib/bn');
|
||||
|
||||
describe('pubkey', function() {
|
||||
describe('Pubkey', function() {
|
||||
|
||||
it('should create a blank public key', function() {
|
||||
var pk = new Pubkey();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var should = require('chai').should();
|
||||
var Random = require('../lib/random');
|
||||
|
||||
describe('random', function() {
|
||||
describe('Random', function() {
|
||||
|
||||
describe('#getRandomBuffer', function() {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ var BN = require('../lib/bn');
|
|||
var Hash = require('../lib/hash');
|
||||
var base58check = require('../lib/base58check');
|
||||
|
||||
describe('stealth', function() {
|
||||
describe('Stealth', function() {
|
||||
|
||||
var stealth = Stealth();
|
||||
stealth.payloadKey = Key();
|
||||
|
|
Loading…
Reference in New Issue