def test_count_length_of_astral_point_symbols_correctly(): string = u'\U0001f63b' assert_equals(1, count_symbols(string))
def test_count_length_of_ascii_symbols_correctly(): string = u'hello' assert_equals(5, count_symbols(string))
def test_count_length_of_latin_symbols_correctly(): string = u'Scénario' assert_equals(8, count_symbols(string))
def _pickle_step_location(step): return { 'line': step['location']['line'], 'column': step['location']['column'] + count_symbols(step.get('keyword', 0)) }
def test_count_length_of_astral_point_symbols_correctly(): string = u'\U0001f63b' assert 1 == count_symbols(string)
def test_count_length_of_latin_symbols_correctly(): string = u'Scénario' assert 8, count_symbols(string)
def test_count_length_of_ascii_symbols_correctly(): string = u'hello' assert 5 == count_symbols(string)