Refactor test module imports in LinReg to improve clarity

This commit is contained in:
Palash Tyagi 2025-07-06 19:17:09 +01:00
parent 1c8fcc0bad
commit ab6d5f9f8f

View File

@ -34,10 +34,10 @@ impl LinReg {
} }
} }
#[cfg(test)]
mod tests { mod tests {
use super::LinReg; use super::*;
use crate::matrix::{Matrix};
#[test] #[test]
fn test_linreg_fit_predict() { fn test_linreg_fit_predict() {