HomePhabricator

Use randbits instead of ad-hoc emulation in prevector tests

Description

Use randbits instead of ad-hoc emulation in prevector tests

Summary:
As per title.

Depends on D887

Test Plan:

make check

Reviewers: schancel, #bitcoin_abc

Reviewed By: schancel, #bitcoin_abc

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on May 23 2017, 23:14
deadalnixCommitted on Jan 5 2018, 12:39
deadalnixPushed on Jan 5 2018, 12:39
Reviewer
Restricted Project
Differential Revision
D889: Use randbits instead of ad-hoc emulation in prevector tests
Parents
rABC80fb4a9a3d2e: Replace rand() & ((1 << N) - 1) with randbits(N) in tests
Branches
Unknown
Tags
Unknown