public void Skip_EarlierVersion() { var osSkipAttribute = new MinimumOSVersionAttribute( OperatingSystems.Windows, new Version("3.0"), OperatingSystems.Windows, new Version("2.5")); Assert.False(osSkipAttribute.IsMet); }
public void DoesNotSkip_WhenOnlyVersionsMatch() { var osSkipAttribute = new MinimumOSVersionAttribute( OperatingSystems.Windows, new Version("2.5"), OperatingSystems.Linux, new Version("2.5")); Assert.True(osSkipAttribute.IsMet); }
public void DoesNotSkip_SameVersion() { var osSkipAttribute = new MinimumOSVersionAttribute( OperatingSystems.Windows, new Version("2.5"), OperatingSystems.Windows, new Version("2.5")); Assert.True(osSkipAttribute.IsMet); }