comp • gb.test • assert • approximate

Assert.Approximate (gb.test)

Static Function Approximate ( Got As Float, Expected As Float, Precision As Float [ , Description As String ] ) As Boolean

Asserts that _Got_ has an absolute error to _Expected_ of at most _Precision_.