static void Main(string[] args) { int t = Int32.Parse(Console.ReadLine()); string a, b; for (int i = 0; i < t; i++) { a = Console.ReadLine(); b = Console.ReadLine(); string result = TwoStrings.substringExists(a, b); Console.WriteLine(result); } }
public void getResponse_anagramCases_ReturnsTrue(string a, string b, string expectedResult) { string result = TwoStrings.substringExists(a, b); Assert.AreEqual(expectedResult, result); }