Esempio n. 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, \
Esempio n. 2
0
def test_multi_random(text):
    """."""
    rand_input = Faker().paragraph()
    assert real(rand_input) == messup(rand_input)
Esempio n. 3
0
def test_case_8():
    """."""
    assert messup('-dcba') == '-dbca'
Esempio n. 4
0
def test_case_9():
    """."""
    assert messup('dcba.') == 'dbca.'
Esempio n. 5
0
def test_case_6():
    """."""
    assert messup('card-carrying') == 'caac-dinrrryg'
Esempio n. 6
0
def test_case_7():
    """."""
    assert messup("shan't") == "sahn't"
Esempio n. 7
0
def test_case_5():
    """."""
    assert messup('you') == 'you'
Esempio n. 8
0
def test_case_4():
    """."""
    assert messup('me') == 'me'
Esempio n. 9
0
def test_case_3():
    """."""
    assert messup('') == ''
Esempio n. 10
0
def test_case_2():
    """."""
    assert messup('i') == 'i'
Esempio n. 11
0
def test_case_1():
    """."""
    assert messup('professionals') == 'paefilnoorsss'