Pass date values via pointers instead of on stack.
[gedcom-parse.git] / t / src / update_gom.c
index 87a65a1fd1a7f1dd987b55f171d36cc147ef8bd5..dc48749911cd7407bae90598aa93c9793f643f70 100644 (file)
@@ -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;