public void TestToString() { YearMonthDay ymd1 = new YearMonthDay(2006, 3, 14); Assert.AreEqual(ymd1.ToString(), "2006:3:14"); }
public void YearMonthDayToString() { var ymd = new YearMonthDay(2017, 8, 25); Assert.AreEqual("2017-08-25", ymd.ToString()); }