public void BowkerTestConstructorTest()
{
// Example from Bortz, Lienert and Klaus. Boehnke Verteilungsfreie Methoden in Der Biostatistik, pg 166
// http://books.google.com.br/books?id=chxDIA-x3WIC&printsec=frontcover&source=gbs_atb#v=onepage&q&f=false
int[,] matrix =
{
{ 14, 7, 9 },
{ 5, 26, 19 },
{ 1, 7, 12 },
};
GeneralConfusionMatrix a = new GeneralConfusionMatrix(matrix);
BowkerTest target = new BowkerTest(a);
Assert.AreEqual(12.27, target.Statistic, 1e-2);
Assert.IsFalse(Double.IsNaN(target.Statistic));
Assert.AreEqual(3, target.DegreesOfFreedom);
}