assert empty

This commit is contained in:
James Hillyerd 2021-06-06 15:00:52 -07:00
parent 064ff239f3
commit 87c958da3b

View file

@ -566,6 +566,7 @@ mod tests {
fn test_zero_size() { fn test_zero_size() {
let ll: LinkedList<u32, Max, U0> = LinkedList::new(); let ll: LinkedList<u32, Max, U0> = LinkedList::new();
assert!(ll.is_empty());
assert!(ll.is_full()); assert!(ll.is_full());
} }