Exemple #1
0
        public void TestEndsWith_WithQStringRefArgsCaseInsensitive()
        {
            var i = _testString.ToUpper().Last();

            var net = _testString.EndsWith(i.ToString(), StringComparison.OrdinalIgnoreCase);

            var j = new QStringRef(i.ToString());

            var q = _qString.EndsWith(j, CaseSensitivity.CaseInsensitive);

            Assert.AreEqual(net, q);
        }