public void SecondGreaterThanOperatorReturnsFalseIfLeftIsSameReferenceAsRight() { c.Second left = new c.Second(47); c.Second right = left; Assert.IsFalse(left > right); }
public void SecondEqualsReturnsTrueIfOtherIsSameValue() { c.Second second = new c.Second(47); c.Second other = new c.Second(47); Assert.IsTrue(second.Equals(other)); }
public void SecondNotEqualsOperatorReturnsTrueIfLeftIsNotNullAndRightIsNull() { c.Second left = new c.Second(47); c.Second right = null; Assert.IsTrue(left != right); }
public void SecondNotEqualsOperatorReturnsTrueIfLeftAndRightAreNotSameValue() { c.Second left = new c.Second(47); c.Second right = new c.Second(46); Assert.IsTrue(left != right); }
public void SecondNotEqualsOperatorReturnsFalseIfLeftAndRightAreNull() { c.Second left = null; c.Second right = null; Assert.IsFalse(left != right); }
public void SecondNotEqualsOperatorReturnsFalseIfLeftAndRightAreSameReference() { c.Second left = new c.Second(47); c.Second right = left; Assert.IsFalse(left != right); }
public void SecondEqualsOperatorReturnsFalseIfLeftIsNullAndRightIsNotNull() { c.Second left = null; c.Second right = new c.Second(47); Assert.IsFalse(left == right); }
public void SecondEqualsOperatorReturnsTrueIfLeftAndRightAreNull() { c.Second left = null; c.Second right = null; Assert.IsTrue(left == right); }
public void SecondLessThanOperatorReturnsFalseIfLeftIsGreaterThanRight() { c.Second left = new c.Second(47); c.Second right = new c.Second(46); Assert.IsFalse(left < right); }
public void SecondEqualsReturnsFalseIfOtherIsDifferentValue() { c.Second second = new c.Second(47); c.Second other = new c.Second(45); Assert.IsFalse(second.Equals(other)); }
public void SecondGreaterThanOrEqualOperatorReturnsTrueIfLeftIsNotNullAndRightIsNull() { c.Second left = new c.Second(47); c.Second right = null; Assert.IsTrue(left >= right); }
public void SecondGreaterThanOrEqualOperatorReturnsTrueIfLeftAndRightAreNull() { c.Second left = null; c.Second right = null; Assert.IsTrue(left >= right); }
public void SecondGreaterThanOperatorReturnsFalseIfLeftAndRightAreNull() { c.Second left = null; c.Second right = null; Assert.IsFalse(left > right); }
public void SecondGreaterThanOrEqualOperatorReturnsTrueIfLeftIsSameReferenceAsRight() { c.Second left = new c.Second(47); c.Second right = left; Assert.IsTrue(left >= right); }
public void SecondGreaterThanOrEqualOperatorReturnsFalseIfLeftIsLessThanRight() { c.Second left = new c.Second(47); c.Second right = new c.Second(48); Assert.IsFalse(left >= right); }
public void SecondGreaterThanOrEqualOperatorReturnsTrueIfLeftIsGreaterThanRight() { c.Second left = new c.Second(47); c.Second right = new c.Second(46); Assert.IsTrue(left >= right); }
public void SecondEqualsReturnsFalseIfOtherIsNull() { c.Second second = new c.Second(47); c.Second other = null; Assert.IsFalse(second.Equals(other)); }
public void SecondLessThanOrEqualOperatorReturnsTrueIfLeftIsLessThanRight() { c.Second left = new c.Second(47); c.Second right = new c.Second(48); Assert.IsTrue(left <= right); }
public void SecondLessThanOrEqualOperatorReturnsFalseIfLeftIsNotNullAndRightIsNull() { c.Second left = new c.Second(47); c.Second right = null; Assert.IsFalse(left <= right); }
public void SecondEqualsReturnsFalseIfOtherIsNotTypeOfSecond() { c.Second second = new c.Second(47); Task other = new Task(() => { }); Assert.IsFalse(second.Equals(other)); }
public void SecondGreaterThanOperatorReturnsFalseIfLeftIsNullAndRightIsNotNull() { c.Second left = null; c.Second right = new c.Second(46); Assert.IsFalse(left > right); }
public void SecondLessThanOperatorReturnsTrueIfLeftIsNullAndRightIsNotNull() { c.Second left = null; c.Second right = new c.Second(46); Assert.IsTrue(left < right); }
public void SecondLessThanOperatorReturnsFalseIfLeftIsSameValueAsRight() { c.Second left = new c.Second(47); c.Second right = new c.Second(47); Assert.IsFalse(left < right); }
public void SecondGetHashCodeReturnsExpectedHash() { const int expected = 47; c.Second second = new c.Second(expected); Assert.AreEqual(expected, second.GetHashCode()); }
public void SecondToStringReturnsExpectedString() { const string expected = "00:00:47"; c.Second second = new c.Second(47); Assert.AreEqual(expected, second.ToString()); }
public void SecondToStringReturnsExpectedStringForMinInt32() { const string expected = ""; c.Second second = new c.Second(int.MinValue); Assert.AreEqual(expected, second.ToString()); }
public void ConnectionGetsExpectedNullValueFromSecondType() { c.Second expected = new c.Second(int.MinValue); var result = c.NULL(typeof(c.Second)); Assert.AreEqual(expected, result); }
public void ConnectionGetsExpectedNullValueForSecondCharacterId() { c.Second expected = new c.Second(int.MinValue); var result = c.NULL('v'); Assert.AreEqual(expected, result); }
public void Setup() { _data = new c.Second[Number]; for (int i = 0; i < _data.Length; i++) { _data[i] = new c.Second(i); } }
public void SecondCompareToReturnsOneIfOtherIsNull() { const int expected = 1; c.Second second = new c.Second(47); c.Second other = null; Assert.AreEqual(expected, second.CompareTo(other)); }