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