def testF(self): a = CreateVersionFromString("1.2.3") b = CreateVersionFromString("0.2.3") assert not a == b assert not a <= b assert a >= b assert not a < b assert a > b assert a <> b assert str(a) == "1.2.3" assert str(b) == "0.2.3" assert a.AsTuple3() == (1, 2, 3) assert b.AsTuple3() == (0, 2, 3)
def testD(self): a = CreateVersionFromString("2.0.1") b = CreateVersionFromString("2.1.1") assert not a == b assert not a >= b assert a <= b assert not a > b assert a < b assert a <> b assert str(a) == "2.0.1" assert str(b) == "2.1.1" assert a.AsTuple3() == (2, 0, 1) assert b.AsTuple3() == (2, 1, 1)