public void SupportMillisecondsInFormatStrings(string format, string expected) { var axis = new TimeSpanAxis { StringFormat = format }; var formattedValue = axis.FormatValue(TimeSpanAxis.ToDouble(new System.TimeSpan(1, 1, 1, 2, 345))); Assert.That(formattedValue, Is.EqualTo(expected)); }
public void SupportMillisecondsInFormatStrings(string format, string expected) { var axis = new TimeSpanAxis { StringFormat = format }; var formattedValue = axis.FormatValue(TimeSpanAxis.ToDouble(new System.TimeSpan(1, 1, 1, 2, 345))); Assert.That(formattedValue, Is.EqualTo(expected)); }