Example #1
0
        public void TestToAscii()
        {
            List <int> list = new List <int>()
            {
                1, 2, 3
            };
            var sut    = new KnotHash();
            var result = sut.ToAsciiCode(list);

            Assert.Equal(new List <int>()
            {
                49, 44, 50, 44, 51
            }, result);
        }