Ad
  • Custom User Avatar

    Yeah, I was reading it wrong. My mistake.

  • Custom User Avatar

    Had an issue with the tests on Python. Got this error:

    Testing for SJF([14, 13, 13, 8, 9], 0)
    It should work for random tests too: 57 should equal 8

    But if we are looking for index 0 then we are hitting 8, 9, 13, 13 and then our interest (14).
    Looks like the solution to the test case was sorted then indexed instead of using original list for index.

  • Custom User Avatar

    Sorry, forgot to mention that. It was in Python that I was having the issue.

  • Custom User Avatar

    Keep getting an error that says "None should equal 'Showing 1 to 10 of 30 Products.'" but the first test is:
    Test.assert_equals(pagination_text(1,10,30),"Showing 1 to 10 of 30 Products.")
    Have checked the punctuation and spacing but cannot see an issue. Working the Python version btw.

  • Custom User Avatar

    Built the solution but it tells me the first test case should be STAY even though it is the example in the description that results in a GO being tested. The test cases assert GO and STAY respectively but I get an error saying neither should be GO.