Clean up tests

This commit is contained in:
Pranav Gaddamadugu 2023-09-29 12:59:41 -04:00 committed by Pranav Gaddamadugu
parent 7e145728e0
commit 829a1e801e
28 changed files with 3 additions and 62 deletions

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/dummy.in
*/
function one(x: bool) -> bool {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/dummy.in
*/
function one() -> u32 {

View File

@ -1,22 +1,6 @@
/*
namespace: Compile
expectation: Fail
input_file:
- inputs/ascii.in
- inputs/escaped_unicode1.in
- inputs/escaped_unicode2.in
- inputs/escaped_unicode3.in
- inputs/escaped_unicode4.in
- inputs/escaped_unicode5.in
- inputs/escaped_unicode6.in
- inputs/escaped.in
- inputs/hex1.in
- inputs/hex2.in
- inputs/unicode1.in
- inputs/unicode2.in
- inputs/unicode3.in
- inputs/unicode4.in
- inputs/unicode5.in
*/
function main(character: char) -> char {

View File

@ -1,22 +1,6 @@
/*
namespace: Compile
expectation: Fail
input_file:
- inputs/ascii.in
- inputs/escaped_unicode1.in
- inputs/escaped_unicode2.in
- inputs/escaped_unicode3.in
- inputs/escaped_unicode4.in
- inputs/escaped_unicode5.in
- inputs/escaped_unicode6.in
- inputs/escaped.in
- inputs/hex1.in
- inputs/hex2.in
- inputs/unicode1.in
- inputs/unicode2.in
- inputs/unicode3.in
- inputs/unicode4.in
- inputs/unicode5.in
*/
function main(character: char) -> char {
console.log("{}", character);

View File

@ -1,11 +1,9 @@
/*
namespace: Compile
expectation: Pass
input_file:
- inputs/string.in
*/
function main(hello: string) -> string {
let world: string = "world";
return world;
}
}

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: inputs/add.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/u8.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/dummy.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/u8.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/u8.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/u8.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/u8.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/u8.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/dummy.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/shift_and_pow.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/u8.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/shift_and_pow.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/shift_and_pow.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_files: ../inputs/u8.in
*/
program test.aleo {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/dummy.in
*/
function main(k: bool) -> bool {
@ -16,4 +15,4 @@ function main(k: bool) -> bool {
}
return (reverse == forward) && k;
}
}

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/dummy.in
*/
function main(y: bool) -> bool {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/u32_3.in
*/
function main(x: u32) -> bool {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/dummy.in
*/
// Function input are mutable by default.

View File

@ -1,11 +1,9 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/u32_3.in
cwd: statement
*/
import foo.leo;
function main(a: u32) -> Foo {
return Foo { a: a };
}
}

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/dummy.in
*/
function iteration() -> u32 {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/u32_3.in
*/
function main(x: u32) -> bool {

View File

@ -1,7 +1,6 @@
/*
namespace: Compile
expectation: Pass
input_file: inputs/dummy.in
*/
function main(a: bool) -> bool {