コード例 #1
0
def test_find_next_letter__abd__next_is_c():
    pi = PlayerInventory(10)
    pi.item_dict = {'a': 1, 'b': 2, 'd': 4}
    assert pi.find_next_letter() == 'c'
コード例 #2
0
def test_find_next_letter__first_letter_is_a():
    pi = PlayerInventory(10)
    assert pi.find_next_letter() == 'a'