Changeset View
Changeset View
Standalone View
Standalone View
src/test/blockstatus_tests.cpp
// Copyright (c) 2018 The Bitcoin developers | // Copyright (c) 2018 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "blockstatus.h" | #include <blockstatus.h> | ||||
#include "blockvalidity.h" | |||||
#include "test/test_bitcoin.h" | #include <blockvalidity.h> | ||||
#include <test/test_bitcoin.h> | |||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
#include <set> | #include <set> | ||||
BOOST_FIXTURE_TEST_SUITE(blockstatus_tests, BasicTestingSetup) | BOOST_FIXTURE_TEST_SUITE(blockstatus_tests, BasicTestingSetup) | ||||
static void CheckBlockStatus(const BlockStatus s, BlockValidity validity, | static void CheckBlockStatus(const BlockStatus s, BlockValidity validity, | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |