Ad
  • Default User Avatar

    Okay. Then why these tests are not in the kata test cases? :)

    vector_affinity([None], [None]) == 1.0
    vector_affinity([None], []) == 0.0
    

    Just want to show that mine(incorrect) solution successful pass your test suite and offer one possible way to catch it.

  • Default User Avatar

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