'The value specified as the prerelease is used in version comparisons.'

def test_comparingPrereleases(self):

    va = Version('whatever', 1, 0, 0, prerelease=1)
    vb = Version('whatever', 1, 0, 0, prerelease=2)
    self.assertTrue((va < vb))
    self.assertTrue((vb > va))
    self.assertTrue((va <= vb))
    self.assertTrue((vb >= va))
    self.assertTrue((va != vb))
    self.assertTrue((vb == Version('whatever', 1, 0, 0, prerelease=2)))
    self.assertTrue((va == va))
