Function RandomIntegerGenerator

Synopsis

#include <include/internal/catch_generators_specific.hpp>

RandomIntegerGenerator(Integer a, Integer b)

Description

No description yet.

Source

Lines 49-53 in include/internal/catch_generators_specific.hpp.

RandomIntegerGenerator(Integer a, Integer b):
    m_rng(rng()),
    m_dist(a, b) {
    static_cast<void>(next());
}





Add Discussion as Guest

Log in