コード例 #1
0
        public void BasicTest2()
        {
            RepeatedStringSolution t = new RepeatedStringSolution();

            long result = t.SolveRepeatedString("a", 1000000000000);

            Assert.AreEqual(1000000000000, result);
        }
コード例 #2
0
        public void BasicTest3()
        {
            long repeat = 11;

            RepeatedStringSolution t = new RepeatedStringSolution();

            long result = t.SolveRepeatedString("abcac", repeat);

            Assert.AreEqual(5, result);
        }
コード例 #3
0
        public void BasicTest()
        {
            long repeat = 10;

            RepeatedStringSolution t = new RepeatedStringSolution();

            long result = t.SolveRepeatedString("a", repeat);

            Assert.AreEqual(repeat, result);
        }