(self)
Check that all numbers in output partitions are in range.
Check that all numbers in output partitions are in range.
Check that all numbers in output partitions are in range .
def testRange(self):
        """Check that all numbers in output partitions are in range."""
        for n in range(len(self.counts)):
            for p in mckay(n):
                for x in p:
                    self.assert_(0 < x <= n)
            for p in lex_partitions(n):
                for x in p:
                    self.assert_(0 < x <= n)
            for p in revlex_partitions(n):
                for x in p:
                    self.assert_(0 < x <= n)
def testRange ( self ) : for n in range ( len ( self . counts ) ) : for p in mckay ( n ) : for x in p : self . assert_ ( 0 < x <= n ) for p in lex_partitions ( n ) : for x in p : self . assert_ ( 0 < x <= n ) for p in revlex_partitions ( n ) : for x in p : self . assert_ ( 0 < x <= n )