Add more test cases; fmt

This commit is contained in:
d0cd 2023-02-05 12:16:38 -08:00
parent b921f959b4
commit afac7b55bc
3 changed files with 7 additions and 1 deletions

View File

@ -18,7 +18,7 @@ mod utilities;
use utilities::{buffer_if_err, compile_and_process, parse_program, BufferEmitter};
use utilities::{get_cwd_option, setup_build_directory, Aleo, Network};
use leo_errors::{emitter::Handler};
use leo_errors::emitter::Handler;
use leo_span::symbol::create_session_if_not_set_then;
use leo_test_framework::{
runner::{Namespace, ParseType, Runner},

View File

@ -13,3 +13,7 @@ outputs:
output: "SnarkVMError(Failed to evaluate instruction (assert.eq r0 r1 ;): 'assert.eq' failed: '0u32' is not equal to '1u32' (should be equal))"
- input: "[1u32, 1u32]"
output: "[]"
- input: "[1u32, 2u32]"
output: "SnarkVMError(Failed to evaluate instruction (assert.eq r0 r1 ;): 'assert.eq' failed: '1u32' is not equal to '2u32' (should be equal))"
- input: "[2u32, 2u32]"
output: "[]"

View File

@ -5,6 +5,8 @@ cases:
main:
- input: ["0u32", "1u32"]
- input: ["1u32", "1u32"]
- input: ["1u32", "2u32"]
- input: ["2u32", "2u32"]
*/
program test.aleo {