def testClipRight(self): self.assertEqual(sf.clip(1,11,10),10)
def testClipLeft(self): self.assertEqual(sf.clip(1,0,10),1)
def testClipMiddle(self): self.assertEqual(sf.clip(1,5,10),5)