Пример #1
0
        private int CountDigits(string guid)
        {
            if (!GuidHelper.IsValidGuid(guid))
            {
                throw new Exception("Invalid guid specified");
            }

            return(GuidHelper.CountDigitsInGuid(guid));
        }
Пример #2
0
        public void CheckDigitCount(string guid, int countExpected)
        {
            int count = GuidHelper.CountDigitsInGuid(guid);

            Assert.Equal(countExpected, count);
        }