def testKnownValues(self):
        for password, expected_result in self.knownValues:
            result = smbpassword.nthash(password)
            if result != expected_result:
                raise AssertionError, 'nthash(%s)=%s, expected %s' \
                      % (repr(password), repr(result), repr(expected_result))
C{_consumeLength} returns the expected length of the
dataset/ETHPy150Open antong/ldaptor/ldaptor/test/test_smbpassword.py/TestNTHash.testKnownValues--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/NetstringReceiverTestCase.test_consumeLength