Ad
  • Default User Avatar

    In the first sentenced it is explained that x is number of pairs of bears:
    "In order to (...) it has x number of mating pairs of bears."

    However indeed the test is not passed if we count pairs, we need to cont bears instead.

    Therefore, I think it is a mistake in the kata.