public void testEndsWith() { StringTheory theory = new StringTheory("0123456789"); Assert.True(theory.EndsWith("6789") && !theory.EndsWith("xxx"), "string ends differently?"); }