Beispiel #1
0
        public void Equals_TwoRunsSame_ReturnsTrue()
        {
            TsString tss1 = CreateTwoRunString();
            TsString tss2 = CreateTwoRunString();

            Assert.That(tss1.Equals(tss2), Is.True);
        }
Beispiel #2
0
        public void Equals_NotSame_ReturnsFalse()
        {
            TsString tss1 = CreateTwoRunString();
            TsString tss2 = CreateOneRunString();

            Assert.That(tss1.Equals(tss2), Is.False);
        }
Beispiel #3
0
        public void Equals_EmptySame_ReturnsTrue()
        {
            TsString tss1 = CreateEmptyString();
            TsString tss2 = CreateEmptyString();

            Assert.That(tss1.Equals(tss2), Is.True);
        }