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

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

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

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