def test_is_benign_2(): """Second criterias for benign: Benign (ii) ≥2 Strong (BS1–BS4) """ # GIVEN values that fulfill the (ii) criteria for benign ba = False bs_terms = ["BS1", "BS2"] ## WHEN performing the evaluation res = is_benign(ba, bs_terms) ## THEN assert the criterias are fullfilled assert res bs_terms = ["BS1"] res = is_benign(ba, bs_terms) assert not res
def test_is_benign_2(): """Second criterias for benign: Benign (ii) ≥2 Strong (BS1–BS4) """ # GIVEN values that fulfill the (ii) criteria for benign ba = False bs_terms = ['BS1', 'BS2'] ## WHEN performing the evaluation res = is_benign(ba, bs_terms) ## THEN assert the criterias are fullfilled assert res bs_terms = ['BS1'] res = is_benign(ba, bs_terms) assert not res
def test_is_benign_1(): """First criterias for benign: Benign (i) 1 Stand-alone (BA1) OR """ # GIVEN values that fulfill the (i) criteria for benign ba = True bs_terms = [] ## WHEN performing the evaluation res = is_benign(ba, bs_terms) ## THEN assert the criterias are fullfilled assert res ba = False res = is_benign(ba, bs_terms) assert not res
def test_is_benign_1(): """First criterias for benign: Benign (i) 1 Stand-alone (BA1) OR """ # GIVEN values that fulfill the (i) criteria for benign ba = True bs_terms = [] ## WHEN performing the evaluation res = is_benign(ba, bs_terms) ## THEN assert the criterias are fullfilled assert res ba = False res = is_benign(ba, bs_terms) assert not res