tests: added test for binary timestamp

This commit is contained in:
Alexander Sulfrian 2011-06-19 16:31:48 +02:00
parent a8acf9a656
commit 727de59494

View File

@ -189,6 +189,14 @@ test('typed results', function() {
dataTypeID: 16,
actual: null,
expected: null
},{
name: 'binary-timestamp',
format: 'binary',
dataTypeID: 1184,
actual: [0x00, 0x01, 0x36, 0xee, 0x3e, 0x66, 0x9f, 0xe0],
expected: function(val) {
assert.UTCDate(val, 2010, 9, 31, 20, 24, 13, 740);
}
},{
name: 'binary-string',
format: 'binary',