示例#1
0
        public void Format_NonRoundtrip(string input, string expectedFormatted)
        {
            var parsed    = Timestamps.Parse(input);
            var formatted = Timestamps.Format(parsed);

            Assert.Equal(expectedFormatted, formatted);
        }
示例#2
0
        public void Format_Roundtrip(string input)
        {
            var parsed    = Timestamps.Parse(input);
            var formatted = Timestamps.Format(parsed);

            Assert.Equal(input, formatted);
        }