Beispiel #1
0
        public void TestEndsWithString()
        {
            var str = new ByteString("abcde");

              Assert.IsTrue(str.EndsWith("cde"));
              Assert.IsTrue(str.EndsWith("abcde"));
              Assert.IsFalse(str.EndsWith("cdd"));
              Assert.IsFalse(str.EndsWith("abcdef"));
        }