public void WhenComparingTwoDifferentCouplingsThenAreOrderedAlphabetically1() { var first = new TypeCoupling( "classA", "ns", "assembly", Enumerable.Empty<string>(), Enumerable.Empty<string>(), Enumerable.Empty<string>()); var second = new TypeCoupling( "classB", "ns", "assembly", Enumerable.Empty<string>(), Enumerable.Empty<string>(), Enumerable.Empty<string>()); Assert.True(first < second); }
public void WhenComparingTwoDifferentCouplingsWithLogicalNotEqualsThenReturnsTrue() { var first = new TypeCoupling( "classA", "ns", "assembly", Enumerable.Empty<string>(), Enumerable.Empty<string>(), Enumerable.Empty<string>()); var second = new TypeCoupling( "classB", "ns", "assembly", Enumerable.Empty<string>(), Enumerable.Empty<string>(), Enumerable.Empty<string>()); Assert.True(first != second); }
public void WhenComparingTwoDifferentCouplingsWithEqualsThenReturnsFalse() { var first = new TypeCoupling( "classA", "ns", "assembly", Enumerable.Empty<string>(), Enumerable.Empty<string>(), Enumerable.Empty<string>()); var second = new TypeCoupling( "classB", "ns", "assembly", Enumerable.Empty<string>(), Enumerable.Empty<string>(), Enumerable.Empty<string>()); Assert.False(first.Equals(second)); }
public void WhenComparingTwoDifferentCouplingsThenAreOrderedAlphabetically2() { var first = new TypeCoupling( "classA", "ns", "assembly", Enumerable.Empty <string>(), Enumerable.Empty <string>(), Enumerable.Empty <string>()); var second = new TypeCoupling( "classB", "ns", "assembly", Enumerable.Empty <string>(), Enumerable.Empty <string>(), Enumerable.Empty <string>()); Assert.IsFalse(first > second); }
public void WhenComparingTwoDifferentCouplingsWithLogicalNotEqualsThenReturnsTrue() { var first = new TypeCoupling( "classA", "ns", "assembly", Enumerable.Empty <string>(), Enumerable.Empty <string>(), Enumerable.Empty <string>()); var second = new TypeCoupling( "classB", "ns", "assembly", Enumerable.Empty <string>(), Enumerable.Empty <string>(), Enumerable.Empty <string>()); Assert.IsTrue(first != second); }
public void WhenComparingTwoDifferentCouplingsWithEqualsThenReturnsFalse() { var first = new TypeCoupling( "classA", "ns", "assembly", Enumerable.Empty <string>(), Enumerable.Empty <string>(), Enumerable.Empty <string>()); var second = new TypeCoupling( "classB", "ns", "assembly", Enumerable.Empty <string>(), Enumerable.Empty <string>(), Enumerable.Empty <string>()); Assert.False(first.Equals(second)); }