diff --git a/compiler/tests/input_files/program_input/main_array.leo b/compiler/tests/input_files/program_input/main_array.leo index 9d98777c14..dd7f265457 100644 --- a/compiler/tests/input_files/program_input/main_array.leo +++ b/compiler/tests/input_files/program_input/main_array.leo @@ -1,3 +1,4 @@ function main (x: [i16; 1]) { console.log("{}", x); + console.assert(x[0] == 0); } \ No newline at end of file diff --git a/compiler/tests/input_files/program_input/main_multi_dimension_array.leo b/compiler/tests/input_files/program_input/main_multi_dimension_array.leo index 582cf45a11..6e523c5fe2 100644 --- a/compiler/tests/input_files/program_input/main_multi_dimension_array.leo +++ b/compiler/tests/input_files/program_input/main_multi_dimension_array.leo @@ -3,4 +3,7 @@ function main(x: [i16; (2, 2, 3)]){ let y: [i16; (2, 2, 3)] = [0i16; (2, 2, 3)]; console.log("y: {}", y); + + console.assert(x[0][0][0] == y[0][0][0]); + console.assert(x[1][1][2] == y[1][1][2]); } \ No newline at end of file