aboutsummaryrefslogtreecommitdiff
path: root/test_vectors/src
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2020-01-22 20:22:15 -0500
committerJack O'Connor <[email protected]>2020-01-22 21:19:47 -0500
commit92d421dea1a89e2f079f4dbd93b0dab41234b279 (patch)
tree97bf168a1cfe853e164de5524f92029d75a7f500 /test_vectors/src
parent78e858d0506d6dfa72b5b690cf4203e90af64b8a (diff)
add a larger test case
One thing I like to test is that, if I hack simd_degree to be higher than MAX_SIMD_DEGREE, assertions fire. This requires a test case long enough to exceed that number of chunks.
Diffstat (limited to 'test_vectors/src')
-rw-r--r--test_vectors/src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/test_vectors/src/lib.rs b/test_vectors/src/lib.rs
index ce087b1..671393a 100644
--- a/test_vectors/src/lib.rs
+++ b/test_vectors/src/lib.rs
@@ -25,8 +25,9 @@ pub const TEST_CASES: &[usize] = &[
7 * CHUNK_LEN + 1,
8 * CHUNK_LEN,
8 * CHUNK_LEN + 1,
- 16 * CHUNK_LEN, // AVX512's bandwidth
- 31 * CHUNK_LEN, // 16 + 8 + 4 + 2 + 1
+ 16 * CHUNK_LEN, // AVX512's bandwidth
+ 31 * CHUNK_LEN, // 16 + 8 + 4 + 2 + 1
+ 100 * CHUNK_LEN, // subtrees larger than MAX_SIMD_DEGREE chunks
];
pub const TEST_CONTEXT: &str = "BLAKE3 2019-12-27 16:29:52 test vectors context";