using System.Collections.Generic;
public static void Main()
var testCases = new List<(string, bool)>(){
("step on no pets", true),
foreach (var testCase in testCases) {
bool isPalindrome = StringService.IsPalindrome(testCase.Item1);
Console.WriteLine($"{testCase.Item1} - expected {testCase.Item2}, actual {isPalindrome}");
public static class StringService
public static bool IsPalindrome(string value)