1
// Check that it's possible to compare a Date to a Timestamp - SERVER-3304
2
// Check Date / Timestamp comparison equivalence - SERVER-3222
7
t.ensureIndex( {a:1} );
9
t.save( {a:new Timestamp()} );
11
if ( 0 ) { // SERVER-3304
12
assert.eq( 1, t.find( {a:{$gt:new Date(0)}} ).itcount() );