コード例 #1
0
ファイル: test_slist.py プロジェクト: JolanPhilippe/PySke
def test_empty_false():
    # pylint: disable=missing-docstring
    slst = SList([1, 2, 3])
    exp = False
    res = slst.empty()
    assert res == exp
コード例 #2
0
ファイル: test_slist.py プロジェクト: JolanPhilippe/PySke
def test_empty_true():
    # pylint: disable=missing-docstring
    slst = SList()
    exp = True
    res = slst.empty()
    assert res == exp