AcoustID.Tests.Chromaprint.FingerprintCompressorTest.TestOneItemThreeBits C# (CSharp) Method

TestOneItemThreeBits() private method

private TestOneItemThreeBits ( ) : void
return void
        public void TestOneItemThreeBits()
        {
            FingerprintCompressor compressor = new FingerprintCompressor();

            int[] fingerprint = { 7 };
            string value = compressor.Compress(fingerprint);

            byte[] expected = { 0, 0, 0, 1, 73, 0 };
            byte[] actual = Base64.ByteEncoding.GetBytes(value);

            CollectionAssert.AreEqual(actual, expected);
        }