Ejemplo n.º 1
0
        public void checkValidDFN_Null()
        {
            string dfn = null;

            Assert.IsFalse(VistaUtils.isWellFormedIen(dfn));
        }
Ejemplo n.º 2
0
        public void checkValidDFN_AlphaNumeric()
        {
            string dfn = "asdf234234";

            Assert.IsFalse(VistaUtils.isWellFormedIen(dfn));
        }
Ejemplo n.º 3
0
        public void checkValidDFN_Zero()
        {
            string dfn = "0";

            Assert.IsFalse(VistaUtils.isWellFormedIen(dfn));
        }
Ejemplo n.º 4
0
        public void checkValidDFN_Integer()
        {
            string dfn = "123";

            Assert.IsTrue(VistaUtils.isWellFormedIen(dfn));
        }
Ejemplo n.º 5
0
        public void checkValidDFN_Decimal()
        {
            string dfn = "123.234";

            Assert.IsTrue(VistaUtils.isWellFormedIen(dfn));
        }
Ejemplo n.º 6
0
        public void checkValidDFN_EmptyString()
        {
            string dfn = "";

            Assert.IsFalse(VistaUtils.isWellFormedIen(dfn));
        }