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

TestTwoItems() private method

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

            int[] fingerprint = { 1, 0 };
            string value = compressor.Compress(fingerprint);

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

            CollectionAssert.AreEqual(actual, expected);
        }