void run () { testVersion (); testValues (); testStringVersion (); testVersionPacking (); auto const current_protocol = BuildInfo::getCurrentProtocol (); auto const minimum_protocol = BuildInfo::getMinimumProtocol (); expect (current_protocol >= minimum_protocol); log << " Divvy Version: " << BuildInfo::getVersionString(); log << " Protocol Version: " << to_string (current_protocol); }
void run () { testValues (); testStringVersion (); testVersionPacking (); auto const current_protocol = BuildInfo::getCurrentProtocol (); auto const minimum_protocol = BuildInfo::getMinimumProtocol (); BEAST_EXPECT(current_protocol >= minimum_protocol); log << " Ripple Version: " << BuildInfo::getVersionString() << '\n' << " Protocol Version: " << to_string (current_protocol) << std::endl; }