コード例 #1
0
def test_raises_on_negative_ic50():
    with assert_raises(Exception):
        ic50_binding_measure.value_is_binder(-1, cutoff=ic50_cutoff)
コード例 #2
0
def test_ic50_value_cutoff():
    assert ic50_binding_measure.value_is_binder(300, cutoff=ic50_cutoff)
    assert not ic50_binding_measure.value_is_binder(600, cutoff=ic50_cutoff)