HomePhabricator

[test] add a couple test cases to uint256_tests.cpp

Description

[test] add a couple test cases to uint256_tests.cpp

Summary:
make sure template <unsigned int BITS> void base_blob<BITS>::SetHex(const char *psz) properly skips
leading spaces and 0x prefixes

Test Plan:

ninja check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
majcostaAuthored on Jun 2 2020, 13:57
majcostaPushed on Jun 2 2020, 18:17
Reviewer
Restricted Project
Differential Revision
D6323: [test] add a couple test cases to uint256_tests.cpp
Parents
rABC91a51b8a2ec4: Fix a comment in validation.cpp
Branches
Unknown
Tags
Unknown