public virtual void ContainsIgnoreCase() { CharacterReader r = new CharacterReader("One TWO three"); NUnit.Framework.Assert.IsTrue(r.ContainsIgnoreCase("two")); NUnit.Framework.Assert.IsTrue(r.ContainsIgnoreCase("three")); // weird one: does not find one, because it scans for consistent case only NUnit.Framework.Assert.IsFalse(r.ContainsIgnoreCase("one")); }