public void TestToString() { LeapSecond leapSecond = new LeapSecond(2451545.0, 100.0); string expected = string.Format("2451545:0 UTC ({0}), 100", new GregorianDate(new JulianDate(2451545.0, TimeStandard.CoordinatedUniversalTime))); Assert.AreEqual(expected, leapSecond.ToString()); }
public void TestToString() { LeapSecond ls1 = new LeapSecond(2451545.0, 100.0); Assert.AreEqual("2451545:0 (UTC), 100", ls1.ToString()); }