Skip to content

Commit

Permalink
style: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukáš Chudíček committed Dec 14, 2023
1 parent a8e43a4 commit ae54d1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/prototype/smart_system_update_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ mod tests {
.take(1)
.for_each(|dirent| {
println!("dirent = {:?}", dirent);
let filepath = dirent.expect("could not read file").path();
let _filepath = dirent.expect("could not read file").path();

let filepath = "data/large/146_BUDDING-YEAST-FAURE-2009.sbml".to_string();

Expand Down
2 changes: 1 addition & 1 deletion src/symbolic_domains/symbolic_domain.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::collections::HashSet;

use biodivine_lib_bdd::{
Bdd, BddPartialValuation, BddValuation, BddVariable, BddVariableSet, BddVariableSetBuilder,
Bdd, BddPartialValuation, BddVariable, BddVariableSet, BddVariableSetBuilder,
};

pub trait SymbolicDomain<T> {
Expand Down
14 changes: 1 addition & 13 deletions tests/some_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,6 @@ impl TheFourImpls<NewDomain, OldDomain> {
new_smart_bdd: new_smart,
}
}

fn are_dumb_update_fns_same(&self) -> bool {
let old_dumb = self.old_dumb.update_fns.iter().map(|(xed, xd)| {});

todo!()
}
}

// #[test]
Expand Down Expand Up @@ -474,16 +468,10 @@ fn check_specific() {
// >::from_path(filepath.to_str().expect("could not convert to str"));
>::from_path(&filepath);

let the_four_check = TheFourImpls::<
NewDomain,
OldDomain,
// >::from_path(filepath.to_str().expect("could not convert to str"));
>::from_path(&filepath);

// vector of bdds, one for each value of each variable
let simple_initial_states = the_four.bbd_for_each_value_of_each_variable();

for (count, initial_state) in simple_initial_states.iter().enumerate() {
for (_, initial_state) in simple_initial_states.iter().enumerate() {
let variable = the_four
.old_dumb
.named_symbolic_domains
Expand Down

0 comments on commit ae54d1a

Please sign in to comment.