Skip to content

Commit

Permalink
Changed test to use file not inside examples folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenhaahr committed Jan 3, 2025
1 parent 6e74067 commit 4e65898
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/file_handling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ mod tests {
#[tokio::test]
async fn test_parse_boolean_file() {
let parser = crate::parser::lola_input_file;
let file = "examples/maple_sequence_true.input";
let file = "tests/test_inputs/maple_sequence_true.input";
let mut data = parse_file(parser, file).await.unwrap();
let m_vals = data
.input_stream(&VarName("m".into()))
Expand Down
25 changes: 25 additions & 0 deletions tests/test_inputs/maple_sequence_true.input
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
0: m = true
a = false
p = false
l = false
e = false
1: m = false
a = true
p = false
l = false
e = false
2: m = false
a = false
p = true
l = false
e = false
3: m = false
a = false
p = false
l = true
e = false
4: m = false
a = false
p = false
l = false
e = true

0 comments on commit 4e65898

Please sign in to comment.