lox-space
lox
BlogDocsChangelog

Add custom macros and traits for testing floating point numbers for approximate equality

#258Merged
Comparing
he/approx-eq
(
4cb50c1
) with
main
(
5fd874a
)
CodSpeed Performance Gauge
0%
Untouched
3
Skipped
1

Benchmarks

Skipped (1)

test_benchmark_parallel_medium
crates/lox-space/tests/test_oneweb_europe_benchmark.py::TestOneWebEuropeBenchmark
Skipped
137.1 ms*

Passed

test_performance_comparison
crates/lox-space/tests/test_oneweb_europe_benchmark.py::TestOneWebEuropeBenchmark
CodSpeed Performance Gauge
0%
10.4 ms10.4 ms
test_full_scale_estimate
crates/lox-space/tests/test_oneweb_europe_benchmark.py::TestOneWebEuropeBenchmark
CodSpeed Performance Gauge
0%
201.2 µs201.3 µs
test_visibility_benchmark
crates/lox-space/tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
471.7 ms473.6 ms

Commits

Click on a commit to change the comparison range
Base
main
5fd874a
-0.04%
feat(lox-test-utils): add ApproxEq derive macro
ec1b4d8
28 days ago
by helgee
-16.13%
refactor: get rid of float_eq and lox_math::is_close
b80bb77
27 days ago
by helgee
+16.03%
perf(lox-test-util): optimise and add docs
4cb50c1
27 days ago
by helgee
© 2025 CodSpeed Technology
Home Terms Privacy Docs