Exemple #1
0
        public void T0119_ToString_SomeValue_ReturnsThatValue()
        {
            string s = "Some value";
            LengthLimitedStringForTest lls = new LengthLimitedStringForTest(s);

            Assert.AreEqual(s, lls.ToString());
        }
Exemple #2
0
        public void T0118_ToString_Empty_ReturnsEmptyString()
        {
            LengthLimitedStringForTest lls = new LengthLimitedStringForTest(string.Empty);

            Assert.AreEqual(string.Empty, lls.ToString());
        }