mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 23:33:27 +03:00
fix tests
This commit is contained in:
parent
8a3f59e9c0
commit
d2810f2789
@ -1,2 +1,2 @@
|
||||
[registers]
|
||||
r: [u8; (3)] = [1u8, 1u8, 1u8];
|
||||
r: [u8; (3)] = [1, 1, 1];
|
||||
|
@ -1,2 +1,2 @@
|
||||
[registers]
|
||||
r: [u8; (3)] = [0u8, 0u8, 0u8];
|
||||
r: [u8; (3)] = [0, 0, 0];
|
||||
|
@ -1,3 +1,3 @@
|
||||
[registers]
|
||||
a: u32 = 0u32;
|
||||
b: u32 = 0u32;
|
||||
a: u32 = 0;
|
||||
b: u32 = 0;
|
||||
|
@ -190,14 +190,14 @@ fn test_nested() {
|
||||
}
|
||||
|
||||
fn output_one(program: EdwardsTestCompiler) {
|
||||
let expected = include_bytes!("output_/registers_one.out");
|
||||
let expected = include_bytes!("output/registers_one.out");
|
||||
let actual = get_output(program);
|
||||
|
||||
assert_eq!(expected, actual.bytes().as_slice());
|
||||
}
|
||||
|
||||
fn output_zero(program: EdwardsTestCompiler) {
|
||||
let expected = include_bytes!("output_/registers_zero.out");
|
||||
let expected = include_bytes!("output/registers_zero.out");
|
||||
let actual = get_output(program);
|
||||
|
||||
assert_eq!(expected, actual.bytes().as_slice());
|
||||
|
@ -0,0 +1,2 @@
|
||||
[registers]
|
||||
a: u32 = 1;
|
@ -0,0 +1,2 @@
|
||||
[registers]
|
||||
a: u32 = 0;
|
@ -1,2 +0,0 @@
|
||||
[registers]
|
||||
a: u32 = 1u32;
|
@ -1,2 +0,0 @@
|
||||
[registers]
|
||||
a: u32 = 0u32;
|
Loading…
Reference in New Issue
Block a user