X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Fsrc%2Fupdate_gom.c;h=dc48749911cd7407bae90598aa93c9793f643f70;hb=91f4b16412ad3d902d415d570b7d24d52543e41c;hp=87a65a1fd1a7f1dd987b55f171d36cc147ef8bd5;hpb=6e84ed5bc58dab589250c5cae425223d43895d32;p=gedcom-parse.git diff --git a/t/src/update_gom.c b/t/src/update_gom.c index 87a65a1..dc48749 100644 --- a/t/src/update_gom.c +++ b/t/src/update_gom.c @@ -300,6 +300,18 @@ int test_record_add_delete_functions() xrl = gom_add_xref(&(fam1->children), ind4->xrefstr); if (!xrl) return 124; + result = gom_move_xref(MOVE_UP, &(fam1->children), ind4->xrefstr); + if (result != 0) return 127; + + result = gom_move_xref(MOVE_UP, &(fam1->children), ind4->xrefstr); + if (result != 0) return 128; + + result = gom_move_xref(MOVE_UP, &(fam1->children), ind4->xrefstr); + if (result != 0) return 129; + + result = gom_move_xref(MOVE_DOWN, &(fam1->children), ind4->xrefstr); + if (result != 0) return 130; + result = gom_remove_xref(&(fam1->children), ind3->xrefstr); if (result != 0) return 125;