Skip to content

Commit caf1f1e

Browse files
committed
tests: Don't treat tests as code-under-test
This influences code coverage results and has no other effect.
1 parent cb7ace4 commit caf1f1e

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

twenty-first/src/tip5/inverse.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ impl InverseTip5 {
110110
}
111111
}
112112

113-
#[cfg(test)]
114113
mod tests {
115114
use proptest::prelude::*;
116115

twenty-first/src/tip5/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,13 @@ pub mod digest;
4040
target_feature = "avx512vbmi"
4141
))]
4242
mod avx512;
43+
4344
#[cfg(test)]
45+
#[cfg_attr(coverage_nightly, coverage(off))]
4446
mod inverse;
47+
4548
#[cfg(test)]
49+
#[cfg_attr(coverage_nightly, coverage(off))]
4650
mod naive;
4751

4852
/// The lookup table with a high algebraic degree used in the TIP-5 permutation. To verify its

twenty-first/src/tip5/naive.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ impl PartialEq<Tip5> for NaiveTip5 {
8181
}
8282
}
8383

84-
#[cfg(test)]
8584
mod tests {
8685
use proptest::prelude::*;
8786

0 commit comments

Comments
 (0)