示例#1
0
        public void TestAppendToStringToQString()
        {
            var old = new QStringRef(_testString);
            var app = "added";

            var appended = old.AppendTo(app);

            var q = appended.ToString();

            var exp = this._testString + app;

            Assert.AreEqual(exp, q);
        }
示例#2
0
        public void TestAppendToStringToQString()
        {
            var old = new QStringRef(_testString);
            var app = "added";

            var appended = old.AppendTo(app);

            var q = appended.ToString();

            var exp = this._testString + app;

            Assert.AreEqual(exp, q);
        }
示例#3
0
        public void TestAppendToStringToQString()
        {
            string     app;
            QStringRef appended;

            using (var old = new QStringRef(this.testString))
            {
                app = "added";

                appended = old.AppendTo(app);
            }

            var q = appended.String;

            var exp = app + this.testString;

            Assert.AreEqual(exp, q);
        }