Exemple #1
0
def test2():
    augm = pressed_twice("Eltern", loc=1)
    assert augm == "Elltern"
Exemple #2
0
def test9():
    augm = pressed_twice("Ab", loc=0, keep_case=True)
    assert augm == "Aab"
Exemple #3
0
def test10():
    augm = pressed_twice("A", loc=0, keep_case=True)
    assert augm == "AA"
Exemple #4
0
def test1():
    augm = pressed_twice("Eltern", loc=0)
    assert augm == "EEltern"
Exemple #5
0
def test8():
    augm = pressed_twice("Ab", loc=0, keep_case=False)
    assert augm == "AAb"
Exemple #6
0
def test7():
    np.random.seed(seed=7)
    augm = (pressed_twice("Eltern",
                          loc='begin'), pressed_twice("Eltern", loc='middle'),
            pressed_twice("Eltern", loc='end'))
    assert augm == ('EEltern', 'Elteern', 'Elternn')
Exemple #7
0
def test6():
    augm = pressed_twice("Eltern", loc=5)
    assert augm == "Elternn"
Exemple #8
0
def test5():
    augm = pressed_twice("Eltern", loc=4)
    assert augm == "Elterrn"
Exemple #9
0
def test4():
    augm = pressed_twice("Eltern", loc=3)
    assert augm == "Elteern"
Exemple #10
0
def test3():
    augm = pressed_twice("Eltern", loc=2)
    assert augm == "Elttern"