Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:02:50

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_RANDOM_SEED_GENERATION_HPP_INCLUDED
0009 #define CATCH_RANDOM_SEED_GENERATION_HPP_INCLUDED
0010 
0011 #include <cstdint>
0012 
0013 namespace Catch {
0014 
0015     enum class GenerateFrom {
0016         Time,
0017         RandomDevice,
0018         //! Currently equivalent to RandomDevice, but can change at any point
0019         Default
0020     };
0021 
0022     std::uint32_t generateRandomSeed(GenerateFrom from);
0023 
0024 } // end namespace Catch
0025 
0026 #endif // CATCH_RANDOM_SEED_GENERATION_HPP_INCLUDED