Exemplo n.º 1
0
        public void FindUnassignedEditPositionInRange()
        {
            var maskedTextProvider = new MaskedTextProvider(TestSimpleDigitMask);

            maskedTextProvider.Set("12");
            Assert.Equal(3, maskedTextProvider.FindUnassignedEditPositionInRange(0, 5, true));
            Assert.Equal(5, maskedTextProvider.FindUnassignedEditPositionInRange(0, 5, false));
        }