mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-19 01:37:34 +03:00
Add more test cases; fmt
This commit is contained in:
parent
b921f959b4
commit
afac7b55bc
@ -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},
|
||||
|
@ -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: "[]"
|
||||
|
@ -5,6 +5,8 @@ cases:
|
||||
main:
|
||||
- input: ["0u32", "1u32"]
|
||||
- input: ["1u32", "1u32"]
|
||||
- input: ["1u32", "2u32"]
|
||||
- input: ["2u32", "2u32"]
|
||||
*/
|
||||
|
||||
program test.aleo {
|
||||
|
Loading…
Reference in New Issue
Block a user