public void DateParseCompareMethodCorrectlyReturnsFullStringTest() { var dateParser = new DateParser("01.01.2016", "05.01.2017"); Assert.AreEqual(expectedDateString3, dateParser.Compare()); }
public void DateParseCompareMethodCorrectlyCompareYearAndMonthAndDayTest() { var dateParser = new DateParser("05.01.2017", "05.01.2017"); Assert.AreEqual(expectedDateString4, dateParser.Compare()); }
static void Main(string[] args) { DateParser date = new DateParser(args[0], args[1]); Console.WriteLine(date.Compare()); }