Beispiel #1
0
        protected void DoTestContains_NotExisting(UnitList iList, string iUnitPrefix, int iUnitIdx)
        {
            UnitItem vNotExisting = CreateItem(iUnitPrefix, iUnitIdx, true);

            Assert.IsFalse(iList.Contains(vNotExisting.Name), "Wrong Contains result. Item shouldn't be on the list: " + vNotExisting.Name);
        }
 protected void DoTestContains_NotExisting(UnitList iList, string iUnitPrefix, int iUnitIdx)
 {
     UnitItem vNotExisting = CreateItem(iUnitPrefix, iUnitIdx, true);
     Assert.IsFalse(iList.Contains(vNotExisting.Name), "Wrong Contains result. Item shouldn't be on the list: " + vNotExisting.Name);
 }