public void GetRangeTest_RangeException()
{
UnivariateContinuousDistribution target = CreateUnivariateContinuousDistribution();
bool thrown = false;
try { target.GetRange(0 - Double.Epsilon); }
catch (ArgumentOutOfRangeException) { thrown = true; }
Assert.IsTrue(thrown);
thrown = false;
try { target.GetRange(1.0 + 2 * Constants.DoubleEpsilon); }
catch (ArgumentOutOfRangeException) { thrown = true; }
Assert.IsTrue(thrown);
}