Ad
  • Custom User Avatar

    I wasted a lot of time trying to figure out why I was just a bit off. The tests use gravity as 32 ft / s exactly instead of 32.2 or 32.174. Only after figuring out the problem did I notice the -16t^2 term denoted 1/2(g)(t^2), thus showing the assumption.

  • Custom User Avatar

    Dart: All "Run Sample Tests" fail with below eror. This includes code that passes the Attempt.

    Test Results:
    Failed to load "test/solution_test.dart": Bad state: expect() may only be called within a test.

  • Custom User Avatar

    To me it looks like there is an issue in the expected string for random tests in Dart. Below is an example that expects a nut in [3], but I'm not seeing how that's possible. I've even seen a test case where a nut was expected below a '_' in the bottom row.

    .oo.o..oo.
    ......../.
    .._.\.\./.
    ../.../...
    .././.../.
        ||
    0101000200
       ^
    
  • Custom User Avatar

    This. This is what hung me up for hours. The "jump brackets" can be nested and only stop when they reach their partner - not just any closing pair.
    On the up side, I got to explore the rabbit hole that is "what should happen on memmory wrap-around".