Skip to content

Commit

Permalink
Fix test signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Feb 2, 2016
1 parent c084ce1 commit 48e8e69
Showing 1 changed file with 36 additions and 18 deletions.
54 changes: 36 additions & 18 deletions test/test.bitauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,24 +108,42 @@ describe('bitauth', function () {
var priv = '8295702b2273896ae085c3caebb02985cab02038251e10b6f67a14340edb51b0';
var pub = bitauth.getPublicKeyFromPrivateKey(priv);
var refPairs = [
['foo',
'3044022045bc5aba353f97316b92996c01eba6e0b0cb63a763d26898a561c748a9545c7502204dc0374c8d4ca489c161b21ff5e25714f1046d759ec9adf9440233069d584567'],
['baz',
'304502206ac2ffc240d23fd218a5aa9857065b8bb09ed6c154f1d7da2b56f993bd6e1e3e022100e8dba80dea09122ab87aae82f91e23876aa6628055e24afc895405482ac97aae'],
['What a piece of work is a man! how noble in reason! how infinite in faculty! in form and moving how express and admirable! in action how like an angel! in apprehension how like a god!',
'304402204c818a10380ba42b3be0a293d47922469c4ae7ad6277e0e62bf32700c79c32210220102b673477ee13877b4b7f8f9a2e4c2004553948fbe5e7fd95d7e23b4cd9f8e3'],
['☕️ ⓝ 🀤 ⎈ ∲',
'304502204d78e57e9bce7fc6d3dd61bcd1baaceff2689f9a8efac5bbb8ce59a47f6652120221008bdce60d43916e35db9c8ee889ba2f85acd2a98fa0193cce0a7f9f9d9867aac1'],
['इसकी दो प्रजातियाँ हैं सुपर्ब लायर बर्ड तथा अलबर्ट्स लायर बर्ड',
'304602210087d7aad4dc2789b8f58f97f541f95fc150ffc7fad8e09093932c023b13330e1a022100b434f9403048a983f8dfbd9b92ad8e2dac1ec4b1934dec8c94f4165bf981e01c'],
['금조류(琴鳥類, lyrebird)는 오스트레일리아 남부에 사는 참새목의 한 부류로, 주변의 소리를 잘 따라한다. 거문고새라고도 한다.',
'3044022030e9acbd8f0f3328bd059296092824a38216a222d04ac7e1f3de89d4270f3e18022014386f61154177111fe1da0eee9874e612990d3ce663e6f2b4c44828b4c7072f'],
['コトドリ属(コトドリぞく、学名 Menura)はコトドリ上科コトドリ科 Menuridae に属する鳥の属の一つ。コトドリ科は単型である。',
'3046022100b286833ddce1537e12f56ae63fbbd6db25ac0dfab659d342a323b764765b60c0022100d83878b0529bf2cab70e98929faf11d1836d8452ef978aad558e35cce4fb14c4'],
['ဂျူးလိယက်ဆီဇာ(ဘီစီ၁၀၀-၄၄)',
'304402206ba84011c961db733e28f40f2496e8ff1ba60fcbf942b609fd1a9a6971f22e5b02202987d7d6ad5c330c7fdacefe3351554c00f42b82b7ad513104de8caebae40fc8'],
['རོ་མའི་རང་དབང་འབངས་མི་ཞིག་ལ་མིང་གསུམ་ཡོད་དེ།',
'304402200e4b0560c42e4de19ddc2541f5531f7614628e9d01503d730ebe38c182baee8702206b80868e3d67fec2a9d5a594edd6b4f0266044965fe41e7cc3bff65feb922b7c']
[
'foo',
'3044022045bc5aba353f97316b92996c01eba6e0b0cb63a763d26898a561c748a9545c7502204dc0374c8d4ca489c161b21ff5e25714f1046d759ec9adf9440233069d584567'
],
[
'baz',
'3045022100c142be1ca68654c26dc902bfc2fb8003669db414c7b10ef51ac557844d9b4d9802201d6b32ecc2d53d8061d7cb0fd912c7705fc589d0b9545e75aa7067b42faa657a'
],
[
'What a piece of work is a man! how noble in reason! how infinite in faculty! in form and moving how express and admirable! in action how like an angel! in apprehension how like a god!',
'304402204c818a10380ba42b3be0a293d47922469c4ae7ad6277e0e62bf32700c79c32210220102b673477ee13877b4b7f8f9a2e4c2004553948fbe5e7fd95d7e23b4cd9f8e3'
],
[
'☕️ ⓝ 🀤 ⎈ ∲',
'3045022100971529c0345cf7ec02be34506e94c4938c57f618bed4104ccee7ae414b8c3c2302202a71942bac9790892c186aee1ac2286132a760ab70543fd78e83251713aa30e9'
],
[
'इसकी दो प्रजातियाँ हैं सुपर्ब लायर बर्ड तथा अलबर्ट्स लायर बर्ड',
'30450221009bb7793508ee84ed69e3c1c404dc2d29395527d6162d3207ea4070d1d0da29fe02203be1781cd60b542bd55f6bf790a0f243a98d2b9af40a46e4c89b977aeeb2d064'
],
[
'금조류(琴鳥類, lyrebird)는 오스트레일리아 남부에 사는 참새목의 한 부류로, 주변의 소리를 잘 따라한다. 거문고새라고도 한다.',
'3044022030e9acbd8f0f3328bd059296092824a38216a222d04ac7e1f3de89d4270f3e18022014386f61154177111fe1da0eee9874e612990d3ce663e6f2b4c44828b4c7072f'
],
[
'コトドリ属(コトドリぞく、学名 Menura)はコトドリ上科コトドリ科 Menuridae に属する鳥の属の一つ。コトドリ科は単型である。',
'3045022100990b47838e728f8a20009b7385c3987bb38172ddcf48bd9f5a5a75460c0f92b202205091ae4717939ab2784b4085e9109a05027748c17a6b076d33168201883a60c2'
],
[
'ဂျူးလိယက်ဆီဇာ(ဘီစီ၁၀၀-၄၄)',
'304402206ba84011c961db733e28f40f2496e8ff1ba60fcbf942b609fd1a9a6971f22e5b02202987d7d6ad5c330c7fdacefe3351554c00f42b82b7ad513104de8caebae40fc8'
],
[
'རོ་མའི་རང་དབང་འབངས་མི་ཞིག་ལ་མིང་གསུམ་ཡོད་དེ།',
'304402200e4b0560c42e4de19ddc2541f5531f7614628e9d01503d730ebe38c182baee8702206b80868e3d67fec2a9d5a594edd6b4f0266044965fe41e7cc3bff65feb922b7c'
]
];
refPairs.forEach(function (pair) {
var contract = pair[0];
Expand Down

0 comments on commit 48e8e69

Please sign in to comment.