Exemplo n.º 1
0
        public void SevenShouldCountAsZeroSeven()
        {
            string currentDate = RequestApi.CurrentTime(new DateTime(2007, 7, 7, 7, 7, 7));

            Assert.AreEqual("20070707070707", currentDate);
        }
Exemplo n.º 2
0
        public void CurrentDateLengthShoudlBeEqualFourteen()
        {
            string currentDate = RequestApi.CurrentTime(new DateTime(7, 7, 7, 7, 7, 7));

            Assert.AreEqual(14, currentDate.Length);
        }
Exemplo n.º 3
0
        public void CurrentTimeShouldBeCorrect()
        {
            string currentDate = RequestApi.CurrentTime(new DateTime(2016, 11, 19, 20, 15, 35));

            Assert.AreEqual("20161119201535", currentDate);
        }