Ad
  • Custom User Avatar

    ???

    Nuts are only counted it they reach the ground. If a nut gets stuck in a \/ then it does not hit the ground. So it is 0.

    This is not a Kata "Issue".

  • Custom User Avatar

    I'm a bit confused by the example in the description. Why are the first 4 numbers = 0? From my unterstanding the second should be 1 and the third 2 because of the 3 nuts which should stuck in the \ / ? What am I getting wrong here?

  • Custom User Avatar

    I edited the tolerance in the "small test" below (just 0.1) and the small test worked fine. Maybe its another problem with my solution, but the error whats showing up when i want to submit is "Use assertEquals(expected, actual, delta) to compare floating-point numbers".

  • Custom User Avatar

    Are you sure that the missing tolerance is a problem here? Dimensions of a block are integers, no tolerance should be necessary.

  • Custom User Avatar

    Cant pass Submit because in the Test (Java) assertEquals has no tolerence values.