Beispiel #1
0
        public void EnsureFormAny()
        {
            var form = new Form();

            Assert.Equal(0, form.AnyCheckCount);
            form.AnyCheck("abcx");
            Assert.Equal(4, form.AnyCheckCount);
            form.AnyCheck("abcy");
            Assert.Equal(5, form.AnyCheckCount);
            form.AnyCheck("abcz");
            Assert.Equal(6, form.AnyCheckCount);
            form.AnyCheck("1ASH");
            Assert.Equal(6, form.AnyCheckCount);
        }