hi i got a problem just with one test of the problem. and I´m stuck with it.
this is my code:
SUBLIST = 1
SUPERLIST = 1
EQUAL = 0
UNEQUAL = 1
def sublist(list_one: list, list_two: list):
if list_one == list_two:
return EQUAL
elif list_one in list_two:
return SUBLIST
elif list_two in list_one:
return SUPERLIST
else:
return UNEQUAL
and this is the test that i don’t understand:
self.assertEqual(len(set([SUBLIST, SUPERLIST, EQUAL, UNEQUAL])), 4)
this is the result of the test:
AssertionError: 2 != 4
can anyone giveme a hint about this test?
thank you