HomePhabricator

[addrman] add tests for IsTerrible

Description

[addrman] add tests for IsTerrible

Summary: The review of D15095 revealed that this function is not tested. Add tests to catch potential mistakes when that function is touched.

Test Plan: ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Jan 8 2024, 09:51
PiRKPushed on Jan 8 2024, 10:41
Reviewer
Restricted Project
Differential Revision
D15109: [addrman] add tests for IsTerrible
Parents
rABCeefe5ab75d00: Make adjusted time type safe
Branches
Unknown
Tags
Unknown