Ejemplo n.º 1
0
def test_shortest_first_name_different_names_list():
    assert shortest_first_name(PY_CONTENT_CREATORS) == 'Dan'


# test_dedup_and_title_case_names()
# test_dedup_and_title_case_names_different_names_list()
# test_shortest_first_name()
# test_shortest_first_name_different_names_list()
# test_sort_by_surname_desc()
# test_sort_by_surname_desc_different_names_list()
Ejemplo n.º 2
0
def test_shortest_first_name():
    assert shortest_first_name(NAMES) == "Al"
Ejemplo n.º 3
0
def test_shortest_first_name_different_names_list():
    assert shortest_first_name(PY_CONTENT_CREATORS) == 'Dan'
Ejemplo n.º 4
0
def test_shortest_first_name():
    expected = 'Al'
    result = shortest_first_name(NAMES)
    assert expected == result