code: public static void assertEquals(float expected, float actual, float delta, String message) {
          if (expected + delta < actual || expected - delta > actual) {
              fail(message);
          }
      }
docs: Asserts that the two floats are equal. If they are not
  the test will fail
  
  @param expected The expected value
  @param actual   The actual value
  @param delta    The maximum amount that expected and actual values may deviate by
  @param message  The message to report on failure