Пример #1
0
        public void IsSubstringAtTest(bool expected, int position, string s, string substring)
        {
            Utf8String u8s         = new Utf8String(s);
            Utf8String u8substring = new Utf8String(substring);

            Assert.Equal(expected, u8s.IsSubstringAt(position, u8substring));
        }
Пример #2
0
 public void IsSubstringAtTest(bool expected, int position, string s, string substring)
 {
     Utf8String u8s = new Utf8String(s);
     Utf8String u8substring = new Utf8String(substring);
     Assert.Equal(expected, u8s.IsSubstringAt(position, u8substring));
 }