Ad
  • Default User Avatar

    No worries!

    Thanks for the quick reply and closing the Issue - hope you enjoy your time on Codewars, and congrats on solving (just saw your profile was updated - I saw you had a little typo with board vs row ;) ).

    By the way, there is a Discord if you want to join (link is in sidebar on the left), that's normally the best way to get a quick reply especially on weird timezones/weekdays depending on who is online.

  • Custom User Avatar

    you're totally correct, was looking at the wrong log. whoops! appreciate the help.

  • Default User Avatar

    Hey and welcome to Codewars - this test/board is indeed a correct Sudoku, so I'm guessing that you are reading the error logs/console incorrectly

    The "Expected True to be False" is applying to the board above the error message - try reading this troubleshoot page then re-run your tests; make sure you are taking the sample test input from "above" the failed error message.

    I won't close issue for now, but please update if that was indeed the problem.

  • Custom User Avatar

    random test (below) failing, wants a false. tested manually and on a sudoku solver, the board is correct. it should be true, but expects a false.

    [[3, 4, 5, 9, 7, 8, 6, 2, 1], [6, 7, 9, 2, 1, 4, 5, 8, 3], [2, 1, 8, 6, 3, 5, 7, 4, 9], [8, 2, 3, 5, 4, 9, 1, 7, 6], [5, 6, 1, 8, 2, 7, 3, 9, 4], [7, 9, 4, 3, 6, 1, 8, 5, 2], [1, 5, 7, 4, 9, 3, 2, 6, 8], [4, 3, 2, 7, 8, 6, 9, 1, 5], [9, 8, 6, 1, 5, 2, 4, 3, 7]]