from .context import tohu
from tohu.v7.item_list import ItemList


def test_item_list():
    values = [11, 55, 22, 66, 33]
    item_list = ItemList(values)
    assert item_list.items == values
    assert item_list == values
    assert len(item_list) == 5
    assert item_list[3] == 66
    assert [x for x in item_list] == values

from .context import tohu
from tohu.v7.item_list import ItemList


def test_item_list():
    values = [11, 55, 22, 66, 33]
    item_list = ItemList(values)
    assert item_list.items == values
    assert item_list == values
    assert len(item_list) == 5
    assert item_list[3] == 66
    assert [x for x in item_list] == values

    item_list_2 = ItemList(values)
    assert item_list == item_list_2

    item_list_3 = ItemList([1, 5, 8, 3])
    assert item_list != item_list_3
Add a couple more test cases for item list
Add a couple more test cases for item list
