Пример #1
0
        public void ConvertToString_WhenCalledWithBase36_CovertsCorrect(int decInput, string binExpected)
        {
            // act
            var actualResult = NbaseN <Base36> .ConvertToString(decInput);

            //assert
            Assert.Equal(binExpected, actualResult);
        }
Пример #2
0
 public string NbaseN_36() => NbaseN <Base36> .ConvertToString(srcInt);
Пример #3
0
 public string NbaseN_64() => NbaseN <Base64> .ConvertToString(srcInt);
Пример #4
0
 public string NbaseN_2() => NbaseN <Base2> .ConvertToString(srcInt);