public void ValidateDateTest()
        {
            PersonWindow pw     = new PersonWindow(null);
            bool         result = pw.ValidateDate("2020-02-02 08:00");

            Assert.AreEqual(false, result);
        }
        public void ValidateDate1(string arg, bool expected)
        {
            PersonWindow pw     = new PersonWindow(null);
            bool         result = pw.ValidateDate(arg);

            Assert.AreEqual(expected, result);
        }
        public void ValidateDate2()
        {
            PersonWindow pw       = new PersonWindow(null);
            string       arg      = Convert.ToString(TestContext.DataRow["Date"].ToString());
            bool         expected = Convert.ToBoolean(TestContext.DataRow["Expected"].ToString());
            bool         result   = pw.ValidateDate(arg);

            Assert.AreEqual(expected, result);
        }