def test_head_one(): # pylint: disable=missing-docstring slst = SList() exp = 1 slst.append(exp) res = slst.head() assert res == exp
def test_head_empty(): # pylint: disable=missing-docstring slst = SList() exp = None res = slst.head() assert res == exp