Move code into library crate for testing
This commit is contained in:
+2
-1
@@ -25,7 +25,8 @@ pub trait Solver {
|
||||
|
||||
// The "../../data" and "../../../data" paths are useful for running the binary from
|
||||
// "target/release/" directory with "data/" directory in package root or parent directory.
|
||||
const DATA_PATHS: &'static [&'static str] = &["./data", "../data", "../../data", "../../../data"];
|
||||
pub const DATA_PATHS: &'static [&'static str] =
|
||||
&["./data", "../data", "../../data", "../../../data"];
|
||||
|
||||
pub fn run<S: Solver>(solver: S) {
|
||||
println!(
|
||||
|
||||
Reference in New Issue
Block a user