Beispiel #1
0
 public void SampleTests()
 {
     for (int n = 0; n < msg.Length; n++)
     {
         int[] p1       = posS[n], p2 = peaksS[n];
         var   expected = new Dictionary <string, List <int> >()
         {
             ["pos"]   = p1.ToList(),
             ["peaks"] = p2.ToList()
         };
         var actual = PickPeaks.GetPeaks(array[n]);
         Assert.AreEqual(expected, actual, msg[n]);
     }
 }