def test_calc_multplty_by_ovl_start2_end4(self, overlaps_start2_end4):
     # Tests how the function assigns mulpitlicity if
     #   contig has two overlaps at one terminus
     #   and 4 overlaps -- at another.
     expected: float = 2.0
     obtained: float = amu._calc_multiplty_by_overlaps(overlaps_start2_end4)
     assert abs(obtained - expected) < 1e-1
 def test_calc_multplty_by_ovl_start1_end0(self, overlaps_start1_end0):
     # Tests how the function assigns mulpitlicity if
     #   contig has single overlap at one terminus.
     expected: float = 1.0
     obtained: float = amu._calc_multiplty_by_overlaps(overlaps_start1_end0)
     assert abs(obtained - expected) < 1e-1
 def test_calc_multplty_by_ovl_start2_end2(self, overlaps_start2_end2):
     # Tests how the function assigns mulpitlicity if
     #   contig has two overlaps at both termini.
     expected: float = 2.0
     obtained: float = amu._calc_multiplty_by_overlaps(overlaps_start2_end2)
     assert abs(obtained - expected) < 1e-1
 def test_calc_multplty_by_ovl_empty(self, overlaps_empty):
     # Tests how the function assigns mulpitlicity if
     #   contig has no overlaps.
     expected: float = 1.0
     obtained: float = amu._calc_multiplty_by_overlaps(overlaps_empty)
     assert abs(obtained - expected) < 1e-1