Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
|