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