MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / RandomIntegerGenerator

Method RandomIntegerGenerator

test/catch.hpp:5291–5296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5289
5290public:
5291 RandomIntegerGenerator(Integer a, Integer b)
5292 : m_rand(getCurrentContext().getConfig()->rngSeed())
5293 , m_dist(a, b)
5294 {
5295 static_cast<void>(next());
5296 }
5297
5298 Integer const& get() const override
5299 {

Callers

nothing calls this directly

Calls 1

rngSeedMethod · 0.80

Tested by

no test coverage detected