summaryrefslogtreecommitdiff
path: root/jstests/stats.js
blob: 26de644f02c2927d4d7b0e2b7ef0b0ffc1212694 (plain)
1
2
3
4
5
6
7
8
9

t = db.stats1;
t.drop();

t.save( { a : 1 } );

assert.lt( 0 , t.dataSize() , "A" );
assert.lt( t.dataSize() , t.storageSize() , "B" );
assert.lt( 0 , t.totalIndexSize() , "C" );