LCOV - code coverage report
Current view: top level - src/test/librust - sapling_test_fixture.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 8 8 100.0 %
Date: 2025-04-02 01:23:23 Functions: 3 3 100.0 %

          Line data    Source code
       1             : // Copyright (c) 2020-2021 The PIVX Core developers
       2             : // Distributed under the MIT software license, see the accompanying
       3             : // file COPYING or https://www.opensource.org/licenses/mit-license.php.
       4             : 
       5             : #include "test/librust/sapling_test_fixture.h"
       6             : #include "sapling/sapling_util.h"
       7             : 
       8          44 : SaplingTestingSetup::SaplingTestingSetup(const std::string& chainName) : TestingSetup(chainName)
       9             : {
      10          44 :     initZKSNARKS(); // init zk-snarks lib
      11          44 : }
      12             : 
      13          44 : SaplingTestingSetup::~SaplingTestingSetup()
      14             : {
      15          44 : }
      16             : 
      17           9 : SaplingRegTestingSetup::SaplingRegTestingSetup() : SaplingTestingSetup(CBaseChainParams::REGTEST)
      18             : {
      19           9 :     UpdateNetworkUpgradeParameters(Consensus::UPGRADE_V5_0, Consensus::NetworkUpgrade::ALWAYS_ACTIVE);
      20           9 : }

Generated by: LCOV version 1.14