LCOV - code coverage report
Current view: top level - src/test - sanity_tests.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 7 7 100.0 %
Date: 2020-09-26 01:30:44 Functions: 9 9 100.0 %

          Line data    Source code
       1             : // Copyright (c) 2012-2019 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 <compat/sanity.h>
       6             : #include <key.h>
       7             : #include <test/util/setup_common.h>
       8             : 
       9             : #include <boost/test/unit_test.hpp>
      10             : 
      11          89 : BOOST_FIXTURE_TEST_SUITE(sanity_tests, BasicTestingSetup)
      12             : 
      13          95 : BOOST_AUTO_TEST_CASE(basic_sanity)
      14             : {
      15           1 :   BOOST_CHECK_MESSAGE(glibc_sanity_test() == true, "libc sanity test");
      16           1 :   BOOST_CHECK_MESSAGE(glibcxx_sanity_test() == true, "stdlib sanity test");
      17           1 :   BOOST_CHECK_MESSAGE(ECC_InitSanityCheck() == true, "secp256k1 sanity test");
      18           1 : }
      19             : 
      20          89 : BOOST_AUTO_TEST_SUITE_END()

Generated by: LCOV version 1.15