Bitcoin Core
28.99.0
P2P Digital Currency
src
test
sanity_tests.cpp
Go to the documentation of this file.
1
// Copyright (c) 2012-2022 The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#include <
key.h
>
6
#include <
test/util/setup_common.h
>
7
8
#include <boost/test/unit_test.hpp>
9
10
BOOST_FIXTURE_TEST_SUITE
(sanity_tests,
BasicTestingSetup
)
11
12
BOOST_AUTO_TEST_CASE
(basic_sanity)
13
{
14
BOOST_CHECK_MESSAGE(
ECC_InitSanityCheck
() ==
true
,
"secp256k1 sanity test"
);
15
}
16
17
BOOST_AUTO_TEST_SUITE_END
()
BOOST_FIXTURE_TEST_SUITE
BOOST_FIXTURE_TEST_SUITE(cuckoocache_tests, BasicTestingSetup)
Test Suite for CuckooCache.
BOOST_AUTO_TEST_SUITE_END
BOOST_AUTO_TEST_SUITE_END()
ECC_InitSanityCheck
bool ECC_InitSanityCheck()
Check that required EC support is available at runtime.
Definition:
key.cpp:442
key.h
BOOST_AUTO_TEST_CASE
BOOST_AUTO_TEST_CASE(basic_sanity)
Definition:
sanity_tests.cpp:12
setup_common.h
BasicTestingSetup
Basic testing setup.
Definition:
setup_common.h:63
Generated on Wed Dec 18 2024 20:00:13 for Bitcoin Core by
1.9.4