mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-19 22:50:44 +02:00
Merge #13551: tests: Fix incorrect documentation for test case cuckoocache_hit_rate_ok
ea49e06c82
tests: Fix incorrect documentation for test case cuckoocache_hit_rate_ok (practicalswift)
Pull request description:
Fix incorrect documentation for test case `cuckoocache_hit_rate_ok`.
Tree-SHA512: 2c1138953f077666c0bba784d9f5e5a627403dcd8b81851ca74793f1bf7bb5dc274af7887d51edb6669de1e9354ca7e5dfba80a3ce62f16eaaee6c6fa57b79f5
This commit is contained in:
commit
c93c360eec
@ -114,7 +114,7 @@ static double normalize_hit_rate(double hits, double load)
|
|||||||
return hits * std::max(load, 1.0);
|
return hits * std::max(load, 1.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Check the hit rate on loads ranging from 0.1 to 2.0 */
|
/** Check the hit rate on loads ranging from 0.1 to 1.6 */
|
||||||
BOOST_AUTO_TEST_CASE(cuckoocache_hit_rate_ok)
|
BOOST_AUTO_TEST_CASE(cuckoocache_hit_rate_ok)
|
||||||
{
|
{
|
||||||
/** Arbitrarily selected Hit Rate threshold that happens to work for this test
|
/** Arbitrarily selected Hit Rate threshold that happens to work for this test
|
||||||
|
Loading…
Reference in New Issue
Block a user