You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

teste_meine_funktionen.py 306B

5 years ago
12345678
  1. import krypto.hashes
  2. import unittest
  3. class TestHash(unittest.TestCase):
  4. def teste_hashMod(self):
  5. first_param = krypto.hashes.hashMod('Hi'.encode('utf-8'))
  6. second_param = krypto.hashes.hashMod('Hi'.encode('utf-8'))
  7. self.assertEquals(first_param, second_param, 'fehler ungleich')