示例#1
0
        public void Should_Correctly_Encode_Number()
        {
            var encoder = new UrlBaseEncoder();
            var result  = encoder.EncodeUrl(100);

            Assert.Equal("bM", result);
        }
示例#2
0
        public void Should_Correctly_Decode_Url()
        {
            var encoder = new UrlBaseEncoder();
            var result  = encoder.DecodeUrl("bM");

            Assert.Equal(100, result);
        }