import { assertAlmostEquals } from "https://deno.land/x/capnp_ts@0.1.0/test_utils.ts";
Make an assertion that actual
and expected
are almost equal numbers through
a given tolerance. It can be used to take into account IEEE-754 double-precision
floating-point representation limitations.
If the values are not almost equal then throw.