Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
import * as mod from "https://deno.land/std@0.203.0/assert/assert_almost_equals.ts";

Functions

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.