Exemplo n.º 1
0
def test_removeAlphas():
    """ Ensure that the utility function to remove alpha characters works successfully """
    assert StringUtils.removeAlphas(
        'afjsafdl121323213adfas1231321') == "1213232131231321"
    assert StringUtils.removeAlphas('213123123123231') == "213123123123231"
Exemplo n.º 2
0
def test_removeAlphas():
    """ Ensure that the utility function to remove alpha characters works successfully """
    assert StringUtils.removeAlphas('afjsafdl121323213adfas1231321') == "1213232131231321"
    assert StringUtils.removeAlphas('213123123123231') == "213123123123231"