Exemple #1
0
 public void CrushedStringToArrayTest()
 {
     ArrayHelpers.StringToArray("1,,,,4", ',');
 }
Exemple #2
0
 public void EmptyArrayToStringTest()
 {
     ArrayHelpers.ArrayToString(new double[] {}, ',');
 }
Exemple #3
0
        public void ArrayToStringTest(double[] array, char delimiter, string result)
        {
            var testResult = ArrayHelpers.ArrayToString(array, delimiter);

            Assert.AreEqual(result, testResult);
        }
Exemple #4
0
 public void EmptyStringToArrayTest()
 {
     ArrayHelpers.StringToArray("", ',');
 }
Exemple #5
0
        public void StringToArrayTest(string toSplit, char delimiter, double[] result)
        {
            var testResult = ArrayHelpers.StringToArray(toSplit, delimiter);

            Assert.AreEqual(result, testResult);
        }