fix tests

This commit is contained in:
collin 2020-09-10 11:18:49 -07:00
parent 8a3f59e9c0
commit d2810f2789
8 changed files with 10 additions and 10 deletions

View File

@ -1,2 +1,2 @@
[registers]
r: [u8; (3)] = [1u8, 1u8, 1u8];
r: [u8; (3)] = [1, 1, 1];

View File

@ -1,2 +1,2 @@
[registers]
r: [u8; (3)] = [0u8, 0u8, 0u8];
r: [u8; (3)] = [0, 0, 0];

View File

@ -1,3 +1,3 @@
[registers]
a: u32 = 0u32;
b: u32 = 0u32;
a: u32 = 0;
b: u32 = 0;

View File

@ -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());

View File

@ -0,0 +1,2 @@
[registers]
a: u32 = 1;

View File

@ -0,0 +1,2 @@
[registers]
a: u32 = 0;

View File

@ -1,2 +0,0 @@
[registers]
a: u32 = 1u32;

View File

@ -1,2 +0,0 @@
[registers]
a: u32 = 0u32;