Skip to content

Commit

Permalink
remove test - useful for sake of illustration but don't need to ship
Browse files Browse the repository at this point in the history
  • Loading branch information
steviez committed Jan 28, 2025
1 parent b1c1c64 commit 1d61261
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ledger/src/shred.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1454,15 +1454,6 @@ mod tests {
);
}

#[test]
fn test_shred_flags_reference_tick_saturates() {
const MAX_REFERENCE_TICK: u8 = ShredFlags::SHRED_TICK_REFERENCE_MASK.bits();
for tick in 0..=u8::MAX {
let flags = ShredFlags::new_from_reference_tick(tick);
assert_eq!(tick <= MAX_REFERENCE_TICK, tick == flags.bits());
}
}

#[test]
fn test_version_from_hash() {
let hash = [
Expand Down

0 comments on commit 1d61261

Please sign in to comment.