public void Multi() { Dit.Add(dit); Dit.Add(dut); Dit.Add(dit); Dat.Add(dut); Dat.Add(dit); Dat.Add(dat); Dut.Add(dit); Dut.Add(dut); Dut.Add(dat); Assert.IsFalse(Dit.SequencedEquals(Dat)); Assert.IsTrue(Dit.SequencedEquals(Dut)); }
public override void PrePlanRun() { base.PrePlanRun(); // Find parents of a certain type, and get a resource reference from them. // Resources include things like Instruments and DUTs. _parentsDut = GetParent <ParentWithResources>().SomeDut; _parentsInstrument = GetParent <ParentWithResources>().SomeInstrument; string s; s = (_parentsDut == null) ? "No DUT Found" : string.Format("Found a DUT named {0}", _parentsDut.Name); Log.Info(s); s = (_parentsInstrument == null) ? "No Instrument" : string.Format("Found an Instrument named {0}", _parentsInstrument.Name); Log.Info(s); }