Ejemplo n.º 1
0
        public void FormatearFechaEnTextoTest()
        {
            string resultado = FormatoFechaFunction.FormatearFechaEnTexto("2020-04-03 ", "-", "/");

            Assert.Contains("2020/04/03 ", resultado);
        }
Ejemplo n.º 2
0
        public void FormatoFechaFunctionTest()
        {
            string resultado = FormatoFechaFunction.FormatoFecha(DateTime.Now);

            Assert.Contains(DateTime.Now.ToString("yyyy/MM/dd"), resultado);
        }