public void TestTheLowestNumberis() { IMagicalIntBagOfMagicalEntetiesOfMagic theBag = new MagicalIntBagOfMagicalEntetiesOfMagic(); theBag.add(1252); theBag.add(2412); theBag.add(1953); theBag.add(65); theBag.add(19); theBag.add(108987678); theBag.CheckLowestNumber(); Assert.IsTrue(theBag.CheckLowestNumber() == 19); }
public void TestNumbersInBag() { IMagicalIntBagOfMagicalEntetiesOfMagic theBag = new MagicalIntBagOfMagicalEntetiesOfMagic(); theBag.add(42); theBag.add(52535); theBag.add(3); theBag.CheckLowestNumber(); Assert.IsTrue(theBag.CountNumbersInBag() == 3); }