def test_false_positive_rate1(): est_positive = [True, True] est_negative = [False,False] result = false_positive_rate(est_positive,est_negative) assert_almost_equal(result,0.0)
def test_false_positive_rate3(): est_positive = [False, False] est_negative = [False,False] result = false_positive_rate(est_positive,est_negative) assert_almost_equal(result,2/4.0)