public void Test(int value1, int value2, bool expectedEqual) { var stub1 = new NonEquatableStub(value1); var stub2 = new NonEquatableStub(value2); if (expectedEqual) { Assert.AreEqual(stub1, stub2); } else { Assert.AreNotEqual(stub1, stub2); } }
public void Test(int value1, int value2, bool expectedEqual) { var stub1 = new NonEquatableStub(value1); var stub2 = new NonEquatableStub(value2); if (expectedEqual) Assert.AreEqual(stub1, stub2); else Assert.AreNotEqual(stub1, stub2); }