blob: 2dfa797ccc86a0aa66821a2b4b20a6147fb2b27d [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// <random>
// template<class IntType = int>
// class negative_binomial_distribution
// result_type min() const;
#include <random>
#include <cassert>
int main()
{
{
typedef std::negative_binomial_distribution<> D;
D d(4, .5);
assert(d.min() == 0);
}
}