Skip to content

Commit

Permalink
update integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDubray committed Jan 25, 2024
1 parent 3178d82 commit a0389a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ macro_rules! test_input_with_branching {
#[test]
fn [<compile_ $b _ $name>]() {
let filename = format!("tests/instances/{}/{}.cnf", stringify!($dir), stringify!($name));
let mut dac = compile(PathBuf::from(filename), $b, None, None, 0.0).unwrap();
let sol = dac.evaluate();
let sol = compile(PathBuf::from(filename), $b, None, None, 0.0).unwrap();
let expected = Float::with_val(113, $value);
assert!((expected - sol).abs() < 0.000001);
}
Expand Down

0 comments on commit a0389a7

Please sign in to comment.