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

TestTwoItemsNoChange() private method

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

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

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

            CollectionAssert.AreEqual(actual, expected);
        }
    }