protected void RunComparer(IFieldComparer comparer, string val1, string val2, bool expectedResult) { var field1 = new FakeFieldValue(val1); var field2 = new FakeFieldValue(val2); comparer.AreEqual(field1, field2).Should().Be(expectedResult); }
protected void RunComparer(IFieldComparer comparer, string val1, string val2, bool expectedResult) { var field1 = new FakeFieldValue(val1); var field2 = new FakeFieldValue(val2); Assert.Equal(expectedResult, comparer.AreEqual(field1, field2)); }