8
test_bson_cursor_key (void)
13
is (bson_cursor_key (NULL), NULL,
14
"bson_cursor_key(NULL) should fail");
16
b = test_bson_generate_full ();
17
c = bson_cursor_new (b);
19
is (bson_cursor_key (c), NULL,
20
"bson_cursor_key() should fail at the initial position");
23
is (bson_cursor_key (c), "double",
24
"bson_cursor_key() works");
30
RUN_TEST (3, bson_cursor_key);