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

Function PrintSolution

src/test/equihash_tests.cpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25BOOST_FIXTURE_TEST_SUITE(equihash_tests, BasicTestingSetup)
26
27void PrintSolution(std::stringstream &strm, std::vector<uint32_t> soln) {
28 strm << " {";
29 const char* separator = "";
30 for (uint32_t index : soln) {
31 strm << separator << index;
32 separator = ", ";
33 }
34 strm << "}";
35}
36
37void PrintSolutions(std::stringstream &strm, std::set<std::vector<uint32_t>> solns) {
38 strm << "{";

Callers 2

PrintSolutionsFunction · 0.85
TestEquihashValidatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected