Exemple #1
0
def test_case_10():
    """."""
    assert messup("you've gotta dance like there's nobody watching, \
        love like you'll never be hurt, sing like there's nobody listening, \
        and live like it's heaven on earth."
                  ) == "you've gotta dacne like teehr's nbdooy wachintg, \
Exemple #2
0
def test_multi_random(text):
    """."""
    rand_input = Faker().paragraph()
    assert real(rand_input) == messup(rand_input)
Exemple #3
0
def test_case_8():
    """."""
    assert messup('-dcba') == '-dbca'
Exemple #4
0
def test_case_9():
    """."""
    assert messup('dcba.') == 'dbca.'
Exemple #5
0
def test_case_6():
    """."""
    assert messup('card-carrying') == 'caac-dinrrryg'
Exemple #6
0
def test_case_7():
    """."""
    assert messup("shan't") == "sahn't"
Exemple #7
0
def test_case_5():
    """."""
    assert messup('you') == 'you'
Exemple #8
0
def test_case_4():
    """."""
    assert messup('me') == 'me'
Exemple #9
0
def test_case_3():
    """."""
    assert messup('') == ''
Exemple #10
0
def test_case_2():
    """."""
    assert messup('i') == 'i'
Exemple #11
0
def test_case_1():
    """."""
    assert messup('professionals') == 'paefilnoorsss'