Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Hi, I got a weird error in test. It says test passed but then shows a failure which is not clear to me what it means.
    For example, here is the test:

    test.it("should be able to handle a list of length 6")
    assert_linked_list_equals(alternating_split(build_one_two_three_four_five_six()).first, build_list([1, 3, 5]), "First list of alternating_split(1 -> 2 -> 3 -> ... 6 -> None) should be 1 -> 3 -> 5 -> None")

    should be able to handle a list of length 6
    Test Passed
    First list of alternating_split(1 -> 2 -> 3 -> ... 6 -> None) should be 1 -> 3 -> 5 -> None: 5 should equal 3

    It first has "Test PAssed"

    But then shows the 2nd error msg. I don't understand what it means by "5 should equal 3". My list is exactly the same as the expected.

    Please help!
    Thank you!

  • Default User Avatar

    TypeError: argument 2 to map() must support iteration

    does anyone get above error ?

  • Default User Avatar

    Same here.
    Unless there is this line in the test, how is it going to succeed ?!
    Primes = Primes()

  • Default User Avatar

    I have the same problem! Shouldn't the test be front, back = front_back_split(source, front, back) such that front and back gets assigned? I passed all the run test by changing them to such but can't submit successfully because they are not assigined.

  • Default User Avatar

    is it possible to add the long test case to test?

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution