コード例 #1
0
        public void AlertCheckEmpty_AlertifIvalidInput_Bool()
        {
            RepeatCounter TestCounter     = new RepeatCounter();
            string        testEmptyString = "";

            Assert.AreEqual(true, TestCounter.ErrorAlert(testEmptyString));
        }
コード例 #2
0
        public void AlertCheckNull_AlertifIvalidInput_Bool()
        {
            RepeatCounter TestCounter    = new RepeatCounter();
            string        testNullString = null;

            Assert.AreEqual(true, TestCounter.ErrorAlert(testNullString));
        }
コード例 #3
0
        public void AlertCheckSpace_AlertifIvalidInput_Bool()
        {
            RepeatCounter TestCounter = new RepeatCounter();
            string        testString  = "hello dude";

            Assert.AreEqual(true, TestCounter.ErrorAlert(testString));
        }