public void CrushedStringToArrayTest() { ArrayHelpers.StringToArray("1,,,,4", ','); }
public void EmptyArrayToStringTest() { ArrayHelpers.ArrayToString(new double[] {}, ','); }
public void ArrayToStringTest(double[] array, char delimiter, string result) { var testResult = ArrayHelpers.ArrayToString(array, delimiter); Assert.AreEqual(result, testResult); }
public void EmptyStringToArrayTest() { ArrayHelpers.StringToArray("", ','); }
public void StringToArrayTest(string toSplit, char delimiter, double[] result) { var testResult = ArrayHelpers.StringToArray(toSplit, delimiter); Assert.AreEqual(result, testResult); }