Exemplo n.º 1
0
        public void Test_GetStringValue()
        {
            var seed       = "ate";
            var inputBytes = new byte[Vector <byte> .Count];

            inputBytes[0] = 2;
            inputBytes[1] = 1;
            inputBytes[2] = 1;
            var input     = new Vector <byte>(inputBytes);
            var converter = new VectorConverter(seed);

            var actual = converter.GetStringValue(input);

            var expected = "aaet";

            Assert.AreEqual(expected, actual);
        }