def test_second(self): test_list = List(1, 2, 3) test_list.append(4) assert str(List.get_normal_order(test_list)) == "1 2 3 4"
def test_sixth(self): test_list = List(1, 2, 3) test_list += [4, 5] assert str(List.get_normal_order(test_list)) == "1 2 3 4 5"
def test_first(self): test_list = List(1, 2, 3) self.assertEqual(str(List.get_normal_order(test_list)), "1 2 3")
def test_third(self): test_list = List(1, 2, 3, 4) tail_list = List(5, 6) test_list += tail_list assert str(List.get_normal_order(test_list)) == "1 2 3 4 5 6"