public void not_equal_operand_true() { var first = new XbmcVersion(5, 0, 0); var second = new XbmcVersion(6, 0, 0); (first != second).Should().BeTrue(); }
public void Icomparer_greater_test(int major, int minor, int patch) { var first = new XbmcVersion(5, 0, 0); var second = new XbmcVersion(major, minor, patch); second.Should().BeGreaterThan(first); }
public void equal_operand_false() { var first = new XbmcVersion(5, 0, 0); var second = new XbmcVersion(6, 0, 0); (first == second).Should().BeFalse(); }
public void Icomparer_lesser_test(int major, int minor, int patch) { var first = new XbmcVersion(5, 5, 5); var second = new XbmcVersion(major, minor, patch); second.Should().BeLessThan(first); }
public void lesser_operand() { var first = new XbmcVersion(5, 0, 0); var second = new XbmcVersion(6, 0, 0); (second > first).Should().BeTrue(); (second >= first).Should().BeTrue(); }
public void greater_operand() { var first = new XbmcVersion(5, 0, 0); var second = new XbmcVersion(6, 0, 0); (first < second).Should().BeTrue(); (first <= second).Should().BeTrue(); }
public void equal_operand() { var first = new XbmcVersion(5, 0, 0); var second = new XbmcVersion(5, 0, 0); (first == second).Should().BeTrue(); (first >= second).Should().BeTrue(); (first <= second).Should().BeTrue(); }
public bool CanHandle(XbmcVersion version) { return version < new XbmcVersion(5); }
public bool CanHandle(XbmcVersion version) { return(version >= new XbmcVersion(5)); }