HomePhabricator

Add unit tests for ProtectEvictionCandidatesByRatio()

Description

Add unit tests for ProtectEvictionCandidatesByRatio()

Summary:
This is a backport of core#20197 [4/6]
https://github.com/bitcoin/bitcoin/pull/20197/commits/72e30e8e03f880eba4bd1c3fc18b5558d8cef680

Depends on D10977

Test Plan: ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10978

Details

Provenance
Jon Atack <jon@atack.com>Authored on Feb 21 2021, 15:36
PiRKCommitted on Feb 4 2022, 10:59
PiRKPushed on Feb 4 2022, 10:59
Reviewer
Restricted Project
Differential Revision
D10978: Add unit tests for ProtectEvictionCandidatesByRatio()
Parents
rABC7128106e3b4c: Use std::unordered_set instead of std::vector in IsEvicted()
Branches
Unknown
Tags
Unknown