Game some more test coverage
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
This commit is contained in:
parent
b8ab76bbf6
commit
322ccfe78a
@ -30,6 +30,7 @@ pub enum FracOp {
|
||||
}
|
||||
|
||||
impl Default for Sign {
|
||||
#[cfg_attr(tarpaulin, skip)]
|
||||
fn default() -> Self {
|
||||
Sign::Positive
|
||||
}
|
||||
@ -159,6 +160,7 @@ macro_rules! impl_int {
|
||||
self == 0
|
||||
}
|
||||
|
||||
#[cfg_attr(tarpaulin, skip)]
|
||||
fn max_value() -> $type {
|
||||
<$type>::max_value()
|
||||
}
|
||||
@ -251,6 +253,7 @@ macro_rules! impl_unsigned {
|
||||
let (x, y) = (min(x, y), max(x, y));
|
||||
Self::stein_gcd((y - x) >> 1, x)
|
||||
}
|
||||
#[cfg_attr(tarpaulin, skip)]
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user