Skip to content

Commit

Permalink
test(gedcom): Add, update tests
Browse files Browse the repository at this point in the history
Change package for PersonalName tests to simplify construction of
different scenarios and checking source citations. It's easier to rely
on the GEDCOM specification than it is to rely on minutiae of method
signatures and types from the the golang code.

Extract some common assertions, like comparisons for []string and for
map[string]string, into helper funcs. Reasoning for not choosing
generics for those helper funcs is in a code comment.

Organize tests
  • Loading branch information
rafaelespinoza committed Oct 26, 2023
1 parent c08c942 commit b06dbb2
Show file tree
Hide file tree
Showing 3 changed files with 374 additions and 234 deletions.

0 comments on commit b06dbb2

Please sign in to comment.