Commit 8c47ac93 authored by Ben Lambell's avatar Ben Lambell

Ensure serialized delegates are equal

parent 0b032575
......@@ -14,6 +14,15 @@ namespace Recurse.Persist.Test
public static class SerializableActionTests
public static void SerializableDelegatesAreEqual()
var target = new InstanceClass();
var action1 = new SerializableAction<int>(target.ReceiveValue);
var action2 = new SerializableAction<int>(target.ReceiveValue);
Assert.AreEqual(action1, action2);
public static void CanSerializeSerializableDelegates()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment