Add tests for witness element and tree last methods. Strengthen testing by inserting a different commitment into the tree at each step.

This commit is contained in:
Sean Bowe
2016-11-14 10:13:06 -07:00
parent 5f0a73ce11
commit d92bea9888
7 changed files with 328 additions and 296 deletions

View File

@@ -31,6 +31,7 @@ JSON_TEST_FILES = \
test/data/merkle_serialization.json \
test/data/merkle_witness_serialization.json \
test/data/merkle_path.json \
test/data/merkle_commitments.json \
test/data/g1_compressed.json \
test/data/g2_compressed.json