def test_weighted_homogenous(self):
   x = self.x
   y = self.y
   z = self.z
   divisor = x**2*y-z**2
   wieghts = homogenous_wieghts(divisor)
   #Test this works with a weighted homogenous divisor
   self.assertEquals(wieghts,[4,1,2,2])
 def test_homogenous(self):
   x = self.x
   y = self.y
   z = self.z
   divisor = x*y*z + x**3 + z**3
   wieghts = homogenous_wieghts(divisor)
   #Test this works with a homogenous divisor
   self.assertEquals(wieghts,[3,1,1,1]);