예제 #1
0
        public void checkValidDFN_Null()
        {
            string dfn = null;

            Assert.IsFalse(VistaUtils.isWellFormedIen(dfn));
        }
예제 #2
0
        public void checkValidDFN_AlphaNumeric()
        {
            string dfn = "asdf234234";

            Assert.IsFalse(VistaUtils.isWellFormedIen(dfn));
        }
예제 #3
0
        public void checkValidDFN_Zero()
        {
            string dfn = "0";

            Assert.IsFalse(VistaUtils.isWellFormedIen(dfn));
        }
예제 #4
0
        public void checkValidDFN_Integer()
        {
            string dfn = "123";

            Assert.IsTrue(VistaUtils.isWellFormedIen(dfn));
        }
예제 #5
0
        public void checkValidDFN_Decimal()
        {
            string dfn = "123.234";

            Assert.IsTrue(VistaUtils.isWellFormedIen(dfn));
        }
예제 #6
0
        public void checkValidDFN_EmptyString()
        {
            string dfn = "";

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