Beispiel #1
0
 public void arrayInt2ListDouble()
 {
     CollectionAssert.AreEqual(new List <double>()
     {
         2.5, 4.0, 5.5, 100, 48.5
     }, exercises.ArrayInt2ListDouble(new int[] { 5, 8, 11, 200, 97 }));
     CollectionAssert.AreEqual(new List <double>()
     {
         372.5, 11.5, 22, 4508.5, 3
     }, exercises.ArrayInt2ListDouble(new int[] { 745, 23, 44, 9017, 6 }));
     CollectionAssert.AreEqual(new List <double>()
     {
         42, 49.5, 1642.5, 6.5, 438.5
     }, exercises.ArrayInt2ListDouble(new int[] { 84, 99, 3285, 13, 877 }));
 }