Skip to content

Commit

Permalink
chore: drop empty module testing
Browse files Browse the repository at this point in the history
  • Loading branch information
YeungOnion committed Jun 25, 2024
1 parent 475292f commit e29b69c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ pub(crate) fn is_zero(x: f64) -> bool {
ulps_eq!(x, 0.0, max_ulps = 0)
}

// #[cfg(test)]
mod testing;

pub use crate::error::StatsError;

/// Result type for the statrs library package that returns
Expand Down
3 changes: 1 addition & 2 deletions src/statistics/iter_statistics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,11 @@ where
mod tests {
use std::f64::consts;
use rand::rngs::StdRng;
use rand::{SeedableRng};
use rand::SeedableRng;
use rand::distributions::Distribution;
use crate::distribution::Normal;
use crate::statistics::Statistics;
use crate::generate::{InfinitePeriodic, InfiniteSinusoidal};
use crate::testing;

#[test]
fn test_empty_data_returns_nan() {
Expand Down
1 change: 0 additions & 1 deletion src/testing/mod.rs

This file was deleted.

0 comments on commit e29b69c

Please sign in to comment.