8
test_bson_cursor_new (void)
13
ok (bson_cursor_new (NULL) == NULL,
14
"bson_cursor_new(NULL) should fail");
17
ok (bson_cursor_new (b) == NULL,
18
"bson_cursor_new() should fail with an unfinished BSON object");
21
b = test_bson_generate_full ();
22
ok ((c = bson_cursor_new (b)) != NULL,
23
"bson_cursor_new() works");
28
RUN_TEST (3, bson_cursor_new);