|
|
@ -82,7 +82,6 @@ describe('util', function() { |
|
|
|
}); |
|
|
|
describe('#intToBuffer2C', function() { |
|
|
|
var data = [ |
|
|
|
/* |
|
|
|
[0, ''], |
|
|
|
[-0, ''], |
|
|
|
[1, '01'], |
|
|
@ -93,9 +92,7 @@ describe('util', function() { |
|
|
|
[128, '8000'], |
|
|
|
[129, '8100'], |
|
|
|
[4096, '0010'], |
|
|
|
*/ |
|
|
|
[-4096, '00f0'], |
|
|
|
/* |
|
|
|
[32767, 'ff7f'], |
|
|
|
[878082192, '90785634'], |
|
|
|
[0x01234567890, '9078563412'], |
|
|
@ -104,7 +101,6 @@ describe('util', function() { |
|
|
|
[4294967297, '0100000001'], |
|
|
|
[2147483647, 'ffffff7f'], |
|
|
|
[-2147483647, '01000080'], |
|
|
|
*/ |
|
|
|
]; |
|
|
|
data.forEach(function(datum) { |
|
|
|
var integer = datum[0]; |
|
|
|