Ad
  • Custom User Avatar

    Read the note in the description. There is an open issue below too.

  • Default User Avatar

    @searchingforapuppy

    I think you are misinterpreting the logs. In this particular kata the assertions are not separated, therefore the error message you see (false should equal true) does not necesarily refer to the first test; i.e. your solution might work for the first few tests until it reaches a case for which it does not work.

  • Custom User Avatar

    I'm not sure, but maybe the TypeScript test is broken.

    I'm working with this problem with TypeScript, and I failed a test within tests below.
    I tested them, and it seems I failed the first case.

    The error message say that "expected false to equal true", so the first case is expected to return false, and my program returns true for this case.
    Although, the first case is given as valid case at the Instruction page.

    Basic tests
    Log
    [121, 144, 19, 161, 19, 144, 19,  11] [121, 14641, 20736, 361, 25921, 361,20736, 361]
    
    [ 3, 4 ] [ 0, 25 ]
    
    [ 121, 144, 19, 161, 19, 144, 19,  11] [ 231, 14641, 20736, 361, 25921, 361, 20736, 361]
    
    [ 121, 144, 19, 161, 19, 144, 19,  11] [ 121, 14641, 20736, 36100, 25921, 361, 20736, 361]
    
    [] []
    expected false to equal true
    
  • Custom User Avatar

    No, they're not broken.

  • Custom User Avatar

    Tests for PHP are broken. Check them again, I've added a comment

  • Default User Avatar

    To post an issue you have to give a detailed reason - input, your output, expected ouput - :-)
    For your information (look at the top of the page) 1310 people passed the PHP kata and 684 the TS one.