diff options
| author | Arnaud Bailly <arnaud.bailly@iohk.io> | 2024-09-23 14:36:15 +0200 |
|---|---|---|
| committer | Arnaud Bailly <arnaud.bailly@iohk.io> | 2024-09-23 14:36:15 +0200 |
| commit | de98bfc28feebfe112a378017c73d0e20dfb2937 (patch) | |
| tree | b5bca14d2053ace6746ef9b9c82bed6c19b20254 /rust/tests/interpret_test.rs | |
| parent | 66abe3871337139e839b693ea9e290eaa9a72516 (diff) | |
| download | lambda-nantes-de98bfc28feebfe112a378017c73d0e20dfb2937.tar.gz | |
Scaffolding of main, library, and tests
Diffstat (limited to 'rust/tests/interpret_test.rs')
| -rw-r--r-- | rust/tests/interpret_test.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rust/tests/interpret_test.rs b/rust/tests/interpret_test.rs new file mode 100644 index 0000000..f0b5201 --- /dev/null +++ b/rust/tests/interpret_test.rs @@ -0,0 +1,7 @@ +use lambda::run; + +#[test] +fn interpreter_can_read_and_interpret_file() { + let result = run("sample/test.txt"); + assert_eq!("1", result); +} |
