MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / inexact_equal

Function inexact_equal

tests/mesh/test-regular-grid-function.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#include <geode/tests/common.hpp>
36
37bool inexact_equal( double nb1, double nb2, double eps )
38{
39 return std::abs( nb1 - nb2 ) < eps;
40}
41
42void test_scalar_function()
43{

Callers 1

test_scalar_functionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected