private void TryToTimeSpan(string value) { String8 value8 = value.TestConvert(); TimeSpan expected; bool shouldSucceed = TimeSpan.TryParse(value, out expected); TimeSpan actual; bool didSucceed = value8.TryToTimeSpan(out actual); Assert.AreEqual(shouldSucceed, didSucceed, $"Success wrong for '{value}'"); Assert.AreEqual(expected, actual, $"Result wrong for '{value}'"); }