public void ReallyLongNvalueTest() { string testString = "a"; long n = 1000000000000; Program p = new Program(); long actual = Program.CountRepeatedString(testString, n); long expected = 1000000000000; Assert.Equal(expected, actual); }
public void Test1() { string testString = "aba"; long n = 10; Program p = new Program(); long actual = RepeatedString.Program.CountRepeatedString(testString, n); long expected = 7; Assert.Equal(expected, actual); }