MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / TestVector

Class TestVector

src/test/bip32_tests.cpp:23–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21};
22
23struct TestVector {
24 std::string strHexMaster;
25 std::vector<TestDerivation> vDerive;
26
27 explicit TestVector(std::string strHexMasterIn) : strHexMaster(strHexMasterIn) {}
28
29 TestVector& operator()(std::string pub, std::string prv, unsigned int nChild) {
30 vDerive.push_back(TestDerivation());
31 TestDerivation &der = vDerive.back();
32 der.pub = pub;
33 der.prv = prv;
34 der.nChild = nChild;
35 return *this;
36 }
37};
38
39TestVector test1 =
40 TestVector("000102030405060708090a0b0c0d0e0f")

Callers 1

bip32_tests.cppFile · 0.70

Calls 2

TestDerivationClass · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected