Skip to content

Commit 54d5b76

Browse files
Test a zero-capacity CircularBuffer as part of the randomized test suite
1 parent 7db8dd1 commit 54d5b76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/randomized.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,11 @@ fn test<const N: usize, T>()
272272
}
273273
}
274274

275+
#[test]
276+
fn zero() {
277+
test::<0, u64>();
278+
}
279+
275280
#[test]
276281
fn small() {
277282
test::<10, u64>();

0 commit comments

Comments
 (0)