public void FailSampleStatic() { Assert.That(() => { var d = TruncatedPareto.Sample(new Numerics.Random.MersenneTwister(100), 10.0, 10.0, 5.0); }, Throws.ArgumentException); }
public void CanSample() { var n = new TruncatedPareto(10.0, 10.0, 1000.0); n.Sample(); }
public void CanSampleStatic() { TruncatedPareto.Sample(new Numerics.Random.MersenneTwister(100), 10.0, 10.0, 1000.0); }