Exemplo n.º 1
0
        public void Concat07()
        {
            MyText txt = new MyText();

            StringAssert.AreEqualIgnoringCase("erro", txt.Concat("ER", "RO"));
        }
Exemplo n.º 2
0
        public void Concat08()
        {
            MyText txt = new MyText();

            StringAssert.IsMatch("sucesso", txt.Concat("Ligação ", "com sucesso."));
        }
Exemplo n.º 3
0
        public void Concat06()
        {
            MyText txt = new MyText();

            StringAssert.EndsWith("!", txt.Concat("Parabéns!", ""));
        }
Exemplo n.º 4
0
        public void Concat04()
        {
            MyText txt = new MyText();

            Assert.That(txt.Concat("Terminou", "Sucesso"), Does.Not.Contain("erro"));
        }
Exemplo n.º 5
0
        public void Concat03()
        {
            MyText txt = new MyText();

            StringAssert.Contains("Sucesso", txt.Concat("Terminou", "Sucesso"));
        }
Exemplo n.º 6
0
        public void Concat02()
        {
            MyText txt = new MyText();

            Assert.IsEmpty(txt.Concat("", ""));
        }
Exemplo n.º 7
0
        public void Concat01()
        {
            MyText txt = new MyText();

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