Ejemplo n.º 1
0
        public void ReturnDateTimeFormat2()
        {
            var start       = "1 April";
            var end         = "30 April";
            var dateHandler = new DateHandler(start, end);
            var result      = dateHandler.ToString();
            var expected    = "01 April - 30 April";

            Assert.Equal(expected, result);
        }
Ejemplo n.º 2
0
        public void ReturnDateTimeFormat()
        {
            var start       = "1 March";
            var end         = "31 March";
            var dateHandler = new DateHandler(start, end);
            var result      = dateHandler.ToString();
            var expected    = "01 March - 31 March";

            Assert.Equal(expected, result);
        }