Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:06

0001 
0002 //              Copyright Catch2 Authors
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //   (See accompanying file LICENSE.txt or copy at
0005 //        https://www.boost.org/LICENSE_1_0.txt)
0006 
0007 // SPDX-License-Identifier: BSL-1.0
0008 #ifndef CATCH_TEST_CASE_INFO_HASHER_HPP_INCLUDED
0009 #define CATCH_TEST_CASE_INFO_HASHER_HPP_INCLUDED
0010 
0011 #include <cstdint>
0012 
0013 namespace Catch {
0014 
0015     struct TestCaseInfo;
0016 
0017     class TestCaseInfoHasher {
0018     public:
0019         using hash_t = std::uint64_t;
0020         TestCaseInfoHasher( hash_t seed );
0021         uint32_t operator()( TestCaseInfo const& t ) const;
0022 
0023     private:
0024         hash_t m_seed;
0025     };
0026 
0027 } // namespace Catch
0028 
0029 #endif /* CATCH_TEST_CASE_INFO_HASHER_HPP_INCLUDED */