예제 #1
0
 private void Compare(double[] expected, SortedDoubleVector vectorArg)
 {
     Assert.AreEqual(expected.Length, vectorArg.Count);
     for (int i = 0; i < expected.Length; i++)
     {
         Assert.AreEqual(expected[i], vectorArg[i]);
     }
 }
예제 #2
0
 public void SetUp()
 {
     vector = new SortedDoubleVector();
 }