Merge() public method

public Merge ( Evidence evidence ) : void
evidence Evidence
return void
Example #1
0
 public static void EvidenceCallMethods()
 {
     Evidence e = new Evidence();
     e = new Evidence(new Evidence());
     e.Clear();
     Evidence e2 = e.Clone();
     System.Collections.IEnumerator ie = e.GetAssemblyEnumerator();
     ie = e.GetHostEnumerator();
     e.Merge(e2);
 }
Example #2
0
		public void Merge_Null ()
		{
			Evidence evidence = new Evidence ();
			evidence.Merge (null);
			// no exception!
			Assert.AreEqual (0, evidence.Count, "Count");
		}
Example #3
0
		public void Merge ()
		{
			Evidence evidence = new Evidence (new object[10], new object[10]);
		  	Evidence evidence2 = new Evidence ();
			evidence2.Merge (evidence);
			Assert.AreEqual (evidence.Count, evidence2.Count, "Count");
		}
Example #4
0
		public void BadMerge ()
		{
			Evidence evidence = new Evidence (null, null);
			Evidence evidence2 = new Evidence ();
			evidence2.Merge (evidence);
			Assert.AreEqual (evidence.Count, evidence2.Count, "Count");
		}
		public void Merge_Null ()
		{
			Evidence evidence = new Evidence ();
			evidence.Merge (null);
			// no exception!
			AssertEquals ("Count", 0, evidence.Count);
		}
		public void BadMerge ()
		{
			Evidence evidence = new Evidence (null, null);
			Evidence evidence2 = new Evidence ();
			evidence2.Merge (evidence);
			AssertEquals ("Count", evidence.Count, evidence2.Count);
		}