New issue 20 by jaco...@google.com: Add an isNear matcher
http://code.google.com/p/google-js-test/issues/detail?id=20
For example:
expectThat(17.75, isNear(17.5, 0.25)); // Passes
expectThat(17.25, isNear(17.5, 0.25)); // Passes
expectThat(17.0, isNear(17.5, 0.25)); // Fails
expectThat("taco", isNear(17.5, 0.25)); // Fails
Comment #1 on issue 20 by jaco...@google.com: Add an isNear matcher
http://code.google.com/p/google-js-test/issues/detail?id=20
Stupid me: I forgot we already have isNearNumber.