public void RegressionTests()
 {
     //Test case #1
     Tukey53HPreprocessor target = new Tukey53HPreprocessor(0.2);
     double[] iArray = {538608907.0, 1614349569.0, 46527135.0, 271407561.0, 1224014298.0, 109214588.0, 1401750087.0, 1772709690.0, 1987789339.0,
                           774552815.0, 1226448635.0, 1418861964.0, 2008047439.0, 1719056947.0, 2091971495.0, 2013473641.0, 1857880694.0,
                           986804018.0, 623007992.0, 1047211489.0};
     double[] expected = {538608907.0, 292568021.0, 942878565.0, 271407561.0, 190311074.5, 1312882192.5, 1401750087.0, 1694769713.0,
                             1273631252.5, 1607118987.0, 1096707389.5, 1418861964.0, 1568959455.5, 2050009467.0, 2091971495.0, 2013473641.0,
                             1500138829.5, 1240444343.0, 1017007753.5, 1047211489.0};
     BSDataObject actual = target.Process(new BSDataObject(iArray));
     CheckTwoOrderedArrays(actual.DataArray, expected);
 }
 public void ProcessTest()
 {
     //Test case #1
     Tukey53HPreprocessor target = new Tukey53HPreprocessor();
     double[] iArray = {1, 2, 3, 4, 5, 6, 7, 8};
     double[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
     BSDataObject actual = target.Process(new BSDataObject(iArray));
     CheckTwoOrderedArrays(actual.DataArray, expected);
     //Test case #2
     target = new Tukey53HPreprocessor(1.5);
     iArray = new double[] { 1, 2, 3, 10, 7, 1, 12, 4, 3, 2, 1 };
     expected = new double[] { 1, 2, 3, 5, 7, 1, 2.5, 4, 3, 2, 1 };
     actual = target.Process(new BSDataObject(iArray));
     CheckTwoOrderedArrays(actual.DataArray, expected);
     //Test case #3
     target = new Tukey53HPreprocessor(100);
     iArray = new double[] { 1, 100, 2, 3, 100, 200, 5, 6, 200, 7, 8 };
     expected = iArray;
     actual = target.Process(new BSDataObject(iArray));
     CheckTwoOrderedArrays(actual.DataArray, expected);
 }