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); }
public void Clear () { Evidence e = new Evidence (); Assert.AreEqual (0, e.Count, "Count-Empty"); e.AddAssembly (new object ()); Assert.AreEqual (1, e.Count, "Count+Assembly"); e.AddHost (new object ()); Assert.AreEqual (2, e.Count, "Count+Host"); e.Clear (); Assert.AreEqual (0, e.Count, "Count-Cleared"); }
public void Clear () { Evidence e = new Evidence (); AssertEquals ("Count-Empty", 0, e.Count); e.AddAssembly (new object ()); AssertEquals ("Count+Assembly", 1, e.Count); e.AddHost (new object ()); AssertEquals ("Count+Host", 2, e.Count); e.Clear (); AssertEquals ("Count-Cleared", 0, e.Count); }