refactor: misc cleanup- move from std::ops to core::ops- remove unnecessary println! calls in testsSigned-off-by: Stephen Waits <steve@waits.net>
This commit is contained in:
1 parent
f5ddbc0533
commit
b70449a9c2
3 files changed
+1
-3
No files matched your search
@@ -249,7 +249,6 @@ mod tests {
|
||||
fn proptest_len(x: FloatType, y: FloatType, h: FloatType) {
|
||||
let len = x.hypot(y) + h.abs();
|
||||
let a = HeightVector::<2>::from(([x,y],h));
|
||||
println!("a = {a:#?}");
|
||||
if x.is_nan() || x.is_infinite() || y.is_nan() || y.is_infinite() || h.is_nan() || h.is_infinite() || h < 0.0 {
|
||||
// we should've gottne a random univ vector here
|
||||
prop_assert!(approx_eq(a.len(), 1.0, 0.0001));
|
||||
|
||||
Reference in new issue
Block a user