Skip to content

Commit 6e4e2a3

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 6e4e2a3

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

twenty-first/src/tip5/inverse.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ impl InverseTip5 {
111111
}
112112

113113
#[cfg(test)]
114+
#[cfg_attr(coverage_nightly, coverage(off))]
114115
mod tests {
115116
use proptest::prelude::*;
116117

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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ impl PartialEq<Tip5> for NaiveTip5 {
8282
}
8383

8484
#[cfg(test)]
85+
#[cfg_attr(coverage_nightly, coverage(off))]
8586
mod tests {
8687
use proptest::prelude::*;
8788

0 commit comments

Comments
 (0)