Skip to content

Commit

Permalink
Moving tests to tests.rs throughout
Browse files Browse the repository at this point in the history
  • Loading branch information
junniest committed Aug 15, 2024
1 parent cf169c8 commit fefb6b6
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion phylo/src/evolutionary_models/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ pub trait EvoModelInfo {
}

#[cfg(test)]
pub(crate) mod evolutionary_models_tests;
pub(crate) mod tests;
File renamed without changes.
2 changes: 1 addition & 1 deletion phylo/src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,4 @@ pub fn write_newick_to_file(trees: &[Tree], path: PathBuf) -> Result<()> {
}

#[cfg(test)]
mod io_tests;
mod tests;
File renamed without changes.
2 changes: 1 addition & 1 deletion phylo/src/likelihood/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ pub trait LikelihoodCostFunction {
}

#[cfg(test)]
mod likelihood_tests;
mod tests;
File renamed without changes.
2 changes: 1 addition & 1 deletion phylo/src/pip_model/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,4 +426,4 @@ fn log_factorial(n: usize) -> f64 {
}

#[cfg(test)]
mod pip_model_tests;
mod tests;
File renamed without changes.
2 changes: 1 addition & 1 deletion phylo/src/substitution_models/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,4 +319,4 @@ impl<SubstModel: SubstitutionModel> SubstModelInfo<SubstModel> {
}

#[cfg(test)]
pub(crate) mod substitution_models_tests;
pub(crate) mod tests;
File renamed without changes.
2 changes: 1 addition & 1 deletion phylo/src/tree/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,4 +444,4 @@ fn compute_distance_matrix(sequences: &Sequences) -> nj_matrices::NJMat {
}

#[cfg(test)]
mod tree_tests;
mod tests;
File renamed without changes.

0 comments on commit fefb6b6

Please sign in to comment.