Skip to content
Permalink
Browse files
Added the test_hashes file that should have been in there already
  • Loading branch information
James Shuttleworth committed Oct 1, 2021
1 parent 2556aee commit ff5ea96040c0f62853517295338982daaf0aa136
Showing with 12 additions and 0 deletions.
  1. +12 −0 tests/test_hashes.py
@@ -0,0 +1,12 @@
import pytest
import sys
sys.path.append("./src/")
import rainbow_generator
import pearson


def test_hashes():

assert pearson.hashN("CeQ",2)==b"\xFF\x99"
assert pearson.hashN("kjB",2)==b"\xAA\xAA"

0 comments on commit ff5ea96

Please sign in to comment.