public void DifferentTypes(object expected, object actual) { var plugin = new EnumComparerPlugin(); var response = plugin.TryCompare("bob", expected, actual); Assert.Equal(ComparisonResultType.UnableToCompare, response.ComparisonResultType); }
public void Standard(object expected, object actual, bool expectSuccess) { var plugin = new EnumComparerPlugin(); var response = plugin.TryCompare("bob", expected, actual); if (expectSuccess) { Assert.Equal(ComparisonResultType.Equal, response.ComparisonResultType); } else { Assert.Equal(ComparisonResultType.Different, response.ComparisonResultType); } }