public void EqualsTest(object obj2, bool expected) { var obj1 = new ApiLimit(150, 100, new DateTimeUtc(2013, 1, 1, 0, 0, 0)); Assert.Equal(expected, obj1.Equals(obj2)); }
public void EqualsTest(object obj2, bool expect) { var obj1 = new ApiLimit(150, 100, new DateTime(2013, 1, 1, 0, 0, 0)); Assert.That(obj1.Equals(obj2), Is.EqualTo(expect)); }
public void EqualsTest(object obj2, bool expect) { var obj1 = new ApiLimit(150, 100, new DateTime(2013, 1, 1, 0, 0, 0)); Assert.That(obj1.Equals(obj2), Is.EqualTo(expect)); }
public void EqualsTest(object obj2, bool expected) { var obj1 = new ApiLimit(150, 100, new DateTime(2013, 1, 1, 0, 0, 0)); Assert.Equal(expected, obj1.Equals(obj2)); }