public static void AssertThatSerializedArrayMatches(byte[] expectedSerialized, BitcoinSerializable serializable) { var serialized = serializable.SerializeToByteArray(); Assert.AreElementsEqual(expectedSerialized, serialized); }
public static void AssertThatSerializedArrayMatches(byte[] expectedSerialized, BitcoinSerializable serializable) { var serialized = serializable.SerializeToByteArray(); Assert.AreElementsEqual(expectedSerialized, serialized); }