public void ClearTest() { var list = new ExpressionList<ConstantTypes.Integer>(); var one = new ConstantTypes.Integer(1); list.Add(one); Assert.IsTrue(list.Count == 1); list.Clear(); Assert.IsTrue(list.Count == 0); }
public void ClearTest() { var list = new ExpressionList<ConstantTypes.Integer>(); var one = new ConstantTypes.Integer(1); list.Add(one); Assert.IsTrue(list.Count == 1); list.Clear(); Assert.IsTrue(list.Count == 0); }