示例#1
0
        public void CompareTimeTest()
        {
            var date1 = new DateTime(2020, 12, 20);
            var date2 = DateTime.Now;

            var result = _timeService.CompareTime(date1, date2);

            Assert.Equal(-1, result);
        }