Skip to content

Add test of Tree/TreeSeq liftimes #498

@molpopgen

Description

@molpopgen

In #497, we added a treesequence lifetime to a Tree.

We need to test the behavior:

  • The Tree owns in tsk_tree_t pointer.
  • A tsk_tree_t contains a non-owning pointer to a treeseq
  • Thus, we must be able to force a segfault,
    and we should try to in tests!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions