Ad
  • Default User Avatar

    No random tests. I suggest you unpublish immediately and add them. There is documentation to help.

  • Custom User Avatar
               test.assert_equals(switches(toggles), switches(toggles))
    

    You're comparing the user's solution return value with itself.

  • Default User Avatar

    The number of lights is already encoded in the list length, so there's no point in passing it in another argument.
    Or maybe the number of switches can be different from the number of lights, but then this case should be tested. It doesn't looks like that ("only describes what OTHER lights").

  • Default User Avatar

    Random tests should be added.