Пример #1
0
def test_carcinoma_count():
    text = 'adenosquamous carcinoma'
    jm = JarManager()
    jm.cursory_diagnosis_examination(text)
    assert jm.get_carcinoma_maybe_count() == 0
    assert jm.get_carcinoma_count() == 1
Пример #2
0
def test_carcinoma_count_colonic_melanoma():
    text = 'descending, adenoma, melanoma'
    jm = JarManager()
    jm.cursory_diagnosis_examination(text)
    assert jm.get_carcinoma_maybe_count() == 0
    assert jm.get_carcinoma_count() == 0
Пример #3
0
def test_carcinoma_count_non_colon():
    text = 'stomach carcinoma'
    jm = JarManager()
    jm.cursory_diagnosis_examination(text)
    assert jm.get_carcinoma_maybe_count() == 0
    assert jm.get_carcinoma_count() == 0
Пример #4
0
def test_carcinoma_count_rectal_melanoma():
    text = 'rectal, adenoma, melanoma'
    jm = JarManager()
    jm.cursory_diagnosis_examination(text)
    assert jm.get_carcinoma_maybe_count() == 0
    assert jm.get_carcinoma_count() == 1