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'
def test_find_next_letter__first_letter_is_a(): pi = PlayerInventory(10) assert pi.find_next_letter() == 'a'