Skip to content

Commit

Permalink
just a few test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyan011 committed Jan 16, 2024
1 parent a7ddc18 commit ceae13c
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions argmin-math/src/primitives/minmax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// copied, modified, or distributed except according to those terms.


//this is the thing you gotta fix
use crate::ArgminMinMax;
use num_complex::Complex;

Expand Down Expand Up @@ -52,11 +51,10 @@ make_minmax!(Complex<usize>);

// TODO: tests!!!
#[cfg(test)]
mod tests{
mod tests {
use super::*;
use paste::item;


macro_rules! make_test {
($t:ty) => {
item! {
Expand All @@ -69,12 +67,8 @@ mod tests{
}
}
}
}


}

make_test!(f32);
make_test!(f64);
}


make_test!(f32);
make_test!(f64);

0 comments on commit ceae13c

Please sign in to comment.