Remove debug println in test_evict
The println's surrounding the final cache fill in test_evict that causes PADDR_B to be evicted are not needed.
This commit is contained in:
parent
ff530020dd
commit
308afc5a25
|
@ -219,9 +219,7 @@ mod test {
|
||||||
assert_eq!(cache.lookup_pure(&PADDR_B, 1000), Some(HADDR_B));
|
assert_eq!(cache.lookup_pure(&PADDR_B, 1000), Some(HADDR_B));
|
||||||
assert_eq!(cache.lookup_pure(&PADDR_D, 1000), None);
|
assert_eq!(cache.lookup_pure(&PADDR_D, 1000), None);
|
||||||
|
|
||||||
println!("{:?}", cache);
|
|
||||||
cache.fill(PADDR_D, HADDR_D, 300);
|
cache.fill(PADDR_D, HADDR_D, 300);
|
||||||
println!("{:?}", cache);
|
|
||||||
assert_eq!(cache.lookup_pure(&PADDR_B, 1000), None);
|
assert_eq!(cache.lookup_pure(&PADDR_B, 1000), None);
|
||||||
assert_eq!(cache.lookup_pure(&PADDR_D, 1000), Some(HADDR_D));
|
assert_eq!(cache.lookup_pure(&PADDR_D, 1000), Some(HADDR_D));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue