def test_is_likely_pathogenic_4(): """First criterias for pathogenic: Pathogenic (iv) ≥3 Moderate (PM1–PM6) OR """ # GIVEN values that fulfill the (1) criteria for likely pathogenic pvs = False ps_terms = [] pm_terms = ["PM1", "PM2", "PM3"] pp_terms = [] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res pm_terms = ["PM1", "PM2"] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_6(): """First criterias for pathogenic: Pathogenic (vi) 1 Moderate (PM1–PM6) AND ≥4 supportin (PP1–PP5) """ # GIVEN values that fulfill the (vi) criteria for likely pathogenic pvs = False ps_terms = [] pm_terms = ["PM1"] pp_terms = ["PP1", "PP2", "PP3", "PP4"] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res pp_terms = ["PP1", "PP2", "PP3"] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_2(): """First criterias for pathogenic: Pathogenic (ii) 1 Strong (PS1–PS4) AND 1–2 moderate (PM1–PM6) OR """ # GIVEN values that fulfill the (1) criteria for likely pathogenic pvs = False ps_terms = ["PS1"] pm_terms = ["PM1"] pp_terms = [] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res ps_terms = [] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_3(): """First criterias for pathogenic: Pathogenic (iii) 1 Strong (PS1–PS4) AND ≥2 supporting (PP1–PP5) OR """ # GIVEN values that fulfill the (1) criteria for likely pathogenic pvs = False ps_terms = ["PS1"] pm_terms = [] pp_terms = ["PP1", "PP2"] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res pp_terms = ["PP1"] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_5(): """First criterias for pathogenic: Pathogenic (v) 2 Moderate (PM1–PM6) AND ≥2 supporting (PP1–PP5) OR """ # GIVEN values that fulfill the (1) criteria for likely pathogenic pvs = False ps_terms = [] pm_terms = ['PM1', 'PM2'] pp_terms = ['PP1', 'PP2'] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res pp_terms = ['PP1'] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_1(): """First criterias for pathogenic: Pathogenic (i) 1 Very strong (PVS1) AND 1 moderate (PM1– PM6) """ # GIVEN values that fulfill the (1) criteria for likely pathogenic pvs = True ps_terms = [] pm_terms = ["PM1"] pp_terms = [] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res pm_terms = [] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_6(): """First criterias for pathogenic: Pathogenic (vi) 1 Moderate (PM1–PM6) AND ≥4 supportin (PP1–PP5) """ # GIVEN values that fulfill the (vi) criteria for likely pathogenic pvs = False ps_terms = [] pm_terms = ['PM1'] pp_terms = ['PP1', 'PP2', 'PP3', 'PP4'] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res pp_terms = ['PP1', 'PP2', 'PP3'] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_4(): """First criterias for pathogenic: Pathogenic (iv) ≥3 Moderate (PM1–PM6) OR """ # GIVEN values that fulfill the (1) criteria for likely pathogenic pvs = False ps_terms = [] pm_terms = ['PM1','PM2','PM3'] pp_terms = [] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res pm_terms = ['PM1','PM2'] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_3(): """First criterias for pathogenic: Pathogenic (iii) 1 Strong (PS1–PS4) AND ≥2 supporting (PP1–PP5) OR """ # GIVEN values that fulfill the (1) criteria for likely pathogenic pvs = False ps_terms = ['PS1'] pm_terms = [] pp_terms = ['PP1','PP2'] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res pp_terms = ['PP1'] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_2(): """First criterias for pathogenic: Pathogenic (ii) 1 Strong (PS1–PS4) AND 1–2 moderate (PM1–PM6) OR """ # GIVEN values that fulfill the (1) criteria for likely pathogenic pvs = False ps_terms = ['PS1'] pm_terms = ['PM1'] pp_terms = [] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res ps_terms = [] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res
def test_is_likely_pathogenic_1(): """First criterias for pathogenic: Pathogenic (i) 1 Very strong (PVS1) AND 1 moderate (PM1– PM6) """ # GIVEN values that fulfill the (1) criteria for likely pathogenic pvs = True ps_terms = [] pm_terms = ['PM1'] pp_terms = [] ## WHEN performing the evaluation res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) ## THEN assert the criterias are fullfilled assert res pm_terms = [] res = is_likely_pathogenic(pvs, ps_terms, pm_terms, pp_terms) assert not res