Exemple #1
0
def test_digit_word_reject():
    assert energoopros.find_home(test_string, '9-р') == False
Exemple #2
0
def test_abrakadabra_3_reject():
    assert energoopros.find_home(test_string, 'sadfwa9') == False
Exemple #3
0
def test_interval_reject():
    assert energoopros.find_home(test_string, '60') == False
Exemple #4
0
def test_digit_word_pass():
    assert energoopros.find_home(test_string, '9-г') == True
Exemple #5
0
def test_interval_pass():
    assert energoopros.find_home(test_string, '30') == True
Exemple #6
0
def test_drob_reject():
    assert energoopros.find_home(test_string, '4/99') == False
Exemple #7
0
def test_drob_pass():
    assert energoopros.find_home(test_string, '25/1') == True
Exemple #8
0
def test_one_digit_reject():
    assert energoopros.find_home(test_string, '444') == False
Exemple #9
0
def test_one_digit_pass():
    assert energoopros.find_home(test_string, '4') == True