Пример #1
0
        public void Concat05()
        {
            MyText txt = new MyText();

            StringAssert.StartsWith("Parabéns", txt.Concat("Parabéns! ",
                                                           "Concluído."));
        }
Пример #2
0
        public void Concat08()
        {
            MyText txt = new MyText();

            StringAssert.IsMatch("sucesso", txt.Concat("Ligação ", "com sucesso."));
        }
Пример #3
0
        public void Concat07()
        {
            MyText txt = new MyText();

            StringAssert.AreEqualIgnoringCase("erro", txt.Concat("ER", "RO"));
        }
Пример #4
0
        public void Concat06()
        {
            MyText txt = new MyText();

            StringAssert.EndsWith("!", txt.Concat("Parabéns!", ""));
        }
Пример #5
0
        public void Concat04()
        {
            MyText txt = new MyText();

            Assert.That(txt.Concat("Terminou", "Sucesso"), Does.Not.Contain("erro"));
        }
Пример #6
0
        public void Concat03()
        {
            MyText txt = new MyText();

            StringAssert.Contains("Sucesso", txt.Concat("Terminou", "Sucesso"));
        }
Пример #7
0
        public void Concat02()
        {
            MyText txt = new MyText();

            Assert.IsEmpty(txt.Concat("", ""));
        }
Пример #8
0
        public void Concat01()
        {
            MyText txt = new MyText();

            Assert.IsNotEmpty(txt.Concat("Olá", ""));
        }