blob: c43a532576c4cb1ef6687c951c6b9a638b1cedab [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <random>
// template<class RealType = double>
// class weibull_distribution
// {
// class param_type;
#include <random>
#include <limits>
#include <cassert>
int main()
{
{
typedef std::weibull_distribution<> D;
typedef D::param_type param_type;
param_type p0(10, .125);
param_type p = p0;
assert(p.a() == 10);
assert(p.b() == .125);
}
}