public void FitTest5()
{
JointDistribution target = new JointDistribution(new[] { 4 });
double[] values = { 0.00, 1.00, 2.00, 3.00 };
double[] weights = { 0.25, 0.25, 0.25, 0.25 };
target.Fit(Jagged.ColumnVector(values), weights);
double[] expected = { 0.25, 0.25, 0.25, 0.25 };
double[] actual = target.Frequencies;
Assert.IsTrue(Matrix.IsEqual(expected, actual));
}