Exemplo n.º 1
0
        private static void ParseAndAssert(TimeSpan expectedValue, string formatString, string input)
        {
            var ftsp   = new FormattedTimeSpanParser(formatString);
            var result = ftsp.Parse(input);

            Assert.AreEqual(expectedValue, result);
        }
 private static void ParseAndAssert(TimeSpan expectedValue, string formatString, string input)
 {
     var ftsp = new FormattedTimeSpanParser(formatString);
     var result = ftsp.Parse(input);
     Assert.AreEqual(expectedValue, result);
 }