Skip to content

Commit 4453cb8

Browse files
committed
Added optional --db input to run test/bench suite with different db file. Added example for benchmark db file where all inputs are 1024 bytes, as well as adjusted the input length of the hardcoded tests to 1024.
1 parent c9aa68f commit 4453cb8

File tree

4 files changed

+1398
-10
lines changed

4 files changed

+1398
-10
lines changed

test_suite/hardcoded_tests/from_addr/src/main.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn regex_match<let N: u32>(input: [u8; N]) -> BoundedVec<Field, N> {
3737
res
3838
}
3939

40-
fn main(input: [u8; 100]) {
40+
fn main(input: [u8; 1024]) {
4141
let res = regex_match(input);
4242
}
4343

test_suite/hardcoded_tests/to_addr/src/main.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn regex_match<let N: u32>(input: [u8; N]) -> BoundedVec<Field, N> {
3737
res
3838
}
3939

40-
fn main(input: [u8; 100]) {
40+
fn main(input: [u8; 1024]) {
4141
let res = regex_match(input);
4242
}
4343

0 commit comments

Comments
 (0)