public void BartlettTestConstructorTest()
{
// Example from NIST/SEMATECH e-Handbook of Statistical Methods,
// http://www.itl.nist.gov/div898/handbook/eda/section3/eda357.htm
BartlettTest target = new BartlettTest(samples);
Assert.AreEqual(9, target.DegreesOfFreedom);
Assert.AreEqual(20.785873428064864, target.Statistic, 1e-10);
Assert.IsFalse(double.IsNaN(target.Statistic));
}