def test_root_mrca(phylobuddy, next_hash): tester = Pb.root(phylobuddy, "ovi47[ab]", "penIT11b") assert phylo_to_hash(tester) == next_hash
def test_root_middle(phylobuddy, next_hash): tester = Pb.root(phylobuddy) assert phylo_to_hash(tester) == next_hash
def test_root_leaf(phylobuddy, next_hash): tester = Pb.root(phylobuddy, "firSA25a") assert phylo_to_hash(tester) == next_hash
def test_root_mrca(phylobuddy, next_hash): tester = Pb.root(phylobuddy, ["firSA25a", "penSH31b"]) assert phylo_to_hash(tester) == next_hash