def METHOD_NAME(self):
    a = SemanticVersion("0.1.0")
    b = SemanticVersion("0.1.0-pr2")
    c = SemanticVersion("0.1.0+012345")
    d = SemanticVersion("0.1.0-pr2+012345")
    self.assertEqual(a.version(), "0.1.0")
    self.assertEqual(b.version(), "0.1.0-pr2")
    self.assertEqual(c.version(), "0.1.0+012345")
    self.assertEqual(d.version(), "0.1.0-pr2+012345")
    self.assertTrue(b < a)
    self.assertTrue(b < c)
    self.assertTrue(b == d)
    self.assertTrue(a == c)
    self.assertEqual(a.major(), b.major())
    self.assertEqual(a.minor(), b.minor())
    self.assertEqual(a.patch(), b.patch())
    self.assertFalse(a.prerelease())
    self.assertFalse(a.build())
    self.assertEqual(b.major(), c.major())
    self.assertEqual(b.minor(), c.minor())
    self.assertEqual(b.patch(), c.patch())
    self.assertEqual(b.prerelease(), d.prerelease())
    self.assertEqual(c.major(), d.major())
    self.assertEqual(c.minor(), d.minor())
    self.assertEqual(c.patch(), d.patch())
    self.assertEqual(c.build(), d.build())
    self.assertEqual(d.build(), "012345")
    self.assertEqual(d.prerelease(), "pr2")