Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ assert_nearly_equal
Function
assert_nearly_equal
code/geometry/primitives.test.cpp:1–3 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
void assert_nearly_equal(double a, double b) {
2
assert_true(abs(a - b) < EPS);
3
}
4
5
void assert_equal(point a, point b) {
6
assert_nearly_equal(real(a), real(b));
Callers
1
assert_equal
Function · 0.70
Calls
1
assert_true
Function · 0.85
Tested by
no test coverage detected