mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
2 more tests MINOR
This commit is contained in:
parent
a301303c98
commit
bbc42224b2
@ -999,6 +999,8 @@ namespace JsobjTests {
|
||||
ASSERT_EQUALS( fromjson( "{ 'x' : 5.2 }" ).objsize() , 16 );
|
||||
ASSERT_EQUALS( fromjson( "{ 'x' : 'eliot' }" ).objsize() , 18 );
|
||||
ASSERT_EQUALS( fromjson( "{ 'x' : 5.2 , 'y' : 'truth' , 'z' : 1.1 }" ).objsize() , 40 );
|
||||
ASSERT_EQUALS( fromjson( "{ 'x' : 5.2 , 'y' : { 'a' : 'eliot' , b : true } , 'z' : null }" ).objsize() , 44 );
|
||||
ASSERT_EQUALS( fromjson( "{ 'x' : 5.2 , 'y' : [ 'a' , 'eliot' , 'b' , true ] , 'z' : null }" ).objsize() , 62 );
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user