Exemplo n.º 1
0
        public void Test3()
        {
            InfiniteString ob = new InfiniteString();

            Assert.AreEqual(4, ob.RepeatedString("abcac", 10));
        }
Exemplo n.º 2
0
        public void Test1()
        {
            InfiniteString ob = new InfiniteString();

            Assert.AreEqual(7, ob.RepeatedString("aba", 10));
        }
Exemplo n.º 3
0
        public void Test2()
        {
            InfiniteString ob = new InfiniteString();

            Assert.AreEqual(1000000000000, ob.RepeatedString("a", 1000000000000));
        }