mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-18 03:05:48 +00:00
Fix Int64 parsing.
This commit is contained in:
@@ -315,6 +315,11 @@ describe('Serialized types', function() {
|
||||
types.Int64.serialize(so, {});
|
||||
});
|
||||
});
|
||||
it('Parse "0123456789ABCDEF"', function () {
|
||||
var so = new SerializedObject("0123456789ABCDEF");
|
||||
var num = types.Int64.parse(so);
|
||||
assert.strictEqual(num.toString(10), '81985529216486895');
|
||||
});
|
||||
});
|
||||
|
||||
describe('Hash128', function() {
|
||||
|
||||
Reference in New Issue
Block a user