Exemplo n.º 1
0
def test_count_length_of_astral_point_symbols_correctly():
    string = u'\U0001f63b'
    assert_equals(1, count_symbols(string))
Exemplo n.º 2
0
def test_count_length_of_ascii_symbols_correctly():
    string = u'hello'
    assert_equals(5, count_symbols(string))
Exemplo n.º 3
0
def test_count_length_of_latin_symbols_correctly():
    string = u'Scénario'
    assert_equals(8, count_symbols(string))