public void MonthNotEqualsOperatorReturnsFalseIfLeftAndRightAreNull() { c.Month left = null; c.Month right = null; Assert.IsFalse(left != right); }
public void MonthNotEqualsOperatorReturnsTrueIfLeftIsNotNullAndRightIsNull() { c.Month left = new c.Month(47); c.Month right = null; Assert.IsTrue(left != right); }
public void MonthNotEqualsOperatorReturnsTrueIfLeftAndRightAreNotSameValue() { c.Month left = new c.Month(47); c.Month right = new c.Month(46); Assert.IsTrue(left != right); }
public void MonthNotEqualsOperatorReturnsFalseIfLeftAndRightAreSameReference() { c.Month left = new c.Month(47); c.Month right = left; Assert.IsFalse(left != right); }
public void MonthEqualsOperatorReturnsFalseIfLeftIsNullAndRightIsNotNull() { c.Month left = null; c.Month right = new c.Month(47); Assert.IsFalse(left == right); }
public void MonthLessThanOperatorReturnsFalseIfLeftIsGreaterThanRight() { c.Month left = new c.Month(47); c.Month right = new c.Month(46); Assert.IsFalse(left < right); }
public void MonthGreaterThanOperatorReturnsFalseIfLeftAndRightAreNull() { c.Month left = null; c.Month right = null; Assert.IsFalse(left > right); }
public void MonthEqualsReturnsTrueIfOtherIsSameValue() { c.Month month = new c.Month(47); c.Month other = new c.Month(47); Assert.IsTrue(month.Equals(other)); }
public void MonthGreaterThanOperatorReturnsFalseIfLeftIsSameReferenceAsRight() { c.Month left = new c.Month(47); c.Month right = left; Assert.IsFalse(left > right); }
public void MonthEqualsReturnsFalseIfOtherIsDifferentValue() { c.Month month = new c.Month(47); c.Month other = new c.Month(45); Assert.IsFalse(month.Equals(other)); }
public void MonthLessThanOperatorReturnsTrueIfLeftIsNullAndRightIsNotNull() { c.Month left = null; c.Month right = new c.Month(46); Assert.IsTrue(left < right); }
public void MonthLessThanOrEqualOperatorReturnsFalseIfLeftIsNotNullAndRightIsNull() { c.Month left = new c.Month(47); c.Month right = null; Assert.IsFalse(left <= right); }
public void MonthLessThanOrEqualOperatorReturnsTrueIfLeftIsLessThanRight() { c.Month left = new c.Month(47); c.Month right = new c.Month(48); Assert.IsTrue(left <= right); }
public void MonthGreaterThanOrEqualOperatorReturnsTrueIfLeftIsNotNullAndRightIsNull() { c.Month left = new c.Month(47); c.Month right = null; Assert.IsTrue(left >= right); }
public void MonthEqualsReturnsFalseIfOtherIsNotTypeOfMonth() { c.Month month = new c.Month(47); Task other = new Task(() => { }); Assert.IsFalse(month.Equals(other)); }
public void MonthGreaterThanOrEqualOperatorReturnsFalseIfLeftIsLessThanRight() { c.Month left = new c.Month(47); c.Month right = new c.Month(48); Assert.IsFalse(left >= right); }
public void MonthGreaterThanOrEqualOperatorReturnsTrueIfLeftAndRightAreNull() { c.Month left = null; c.Month right = null; Assert.IsTrue(left >= right); }
public void MonthEqualsReturnsFalseIfOtherIsNull() { c.Month month = new c.Month(47); c.Month other = null; Assert.IsFalse(month.Equals(other)); }
public void MonthGreaterThanOrEqualOperatorReturnsTrueIfLeftIsSameReferenceAsRight() { c.Month left = new c.Month(47); c.Month right = left; Assert.IsTrue(left >= right); }
public void MonthGreaterThanOrEqualOperatorReturnsTrueIfLeftIsGreaterThanRight() { c.Month left = new c.Month(47); c.Month right = new c.Month(46); Assert.IsTrue(left >= right); }
public void MonthLessThanOperatorReturnsFalseIfLeftIsSameValueAsRight() { c.Month left = new c.Month(47); c.Month right = new c.Month(47); Assert.IsFalse(left < right); }
public void MonthEqualsOperatorReturnsTrueIfLeftAndRightAreNull() { c.Month left = null; c.Month right = null; Assert.IsTrue(left == right); }
public void MonthGreaterThanOperatorReturnsFalseIfLeftIsNullAndRightIsNotNull() { c.Month left = null; c.Month right = new c.Month(46); Assert.IsFalse(left > right); }
public void MonthToStringReturnsExpectedStringForMinInt32() { const string expected = ""; c.Month month = new c.Month(int.MinValue); Assert.AreEqual(expected, month.ToString()); }
public void MonthGetHashCodeReturnsExpectedHash() { const int expected = 47; c.Month month = new c.Month(expected); Assert.AreEqual(expected, month.GetHashCode()); }
public void ConnectionGetsExpectedNullValueForMonthCharacterId() { c.Month expected = new c.Month(int.MinValue); var result = c.NULL('m'); Assert.AreEqual(expected, result); }
public void MonthToStringReturnsExpectedString() { const string expected = "2003-12"; c.Month month = new c.Month(47); Assert.AreEqual(expected, month.ToString()); }
public void Setup() { _data = new c.Month[Number]; for (int i = 0; i < _data.Length; i++) { _data[i] = new c.Month(i); } }
public void ConnectionGetsExpectedNullValueFromMonthType() { c.Month expected = new c.Month(int.MinValue); var result = c.NULL(typeof(c.Month)); Assert.AreEqual(expected, result); }
public void MonthCompareToReturnsOneIfOtherIsNull() { const int expected = 1; c.Month month = new c.Month(47); c.Month other = null; Assert.AreEqual(expected, month.CompareTo(other)); }