def testPermCheckValid(self): self.assertEqual(codility.permCheck([4,1,3,2]),1)
def testPermCheckTwoElementsNonConsecutive(self): self.assertEqual(codility.permCheck([1,6]),0)
def testPermCheckDoubleElementConsecutiveNotOne(self): self.assertEqual(codility.permCheck([4,5]),0)
def testPermCheckSingleElementIsOne(self): self.assertEqual(codility.permCheck([1]),1)
def testPermCheckSingleElementNotOne(self): self.assertEqual(codility.permCheck([4]),0)
def testPermCheckInValid(self): self.assertEqual(codility.permCheck([4,1,3]),0)