public bool EqualData(object expected, object actual) { if (expected == null) { return(actual == null); } var value = PartialMapper.CastTuple(expected.GetType(), actual); return(expected.Equals(value)); }
private static void AssertTuple(object expected, object actual) { var value = PartialMapper.CastTuple(expected.GetType(), actual); Assert.Equal(expected, value); }