aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Hillyerd <james@hillyerd.com>2021-06-06 15:00:52 -0700
committerJames Hillyerd <james@hillyerd.com>2021-06-06 15:00:52 -0700
commit87c958da3bf9ef4f2b3c1a7efe4f60480be9eeb1 (patch)
treed9e4d5a690e2b771930b5c938f64a810015cbad8 /src
parent064ff239f373daf93d73d73eaf7dc7bece05ef0e (diff)
assert empty
Diffstat (limited to 'src')
-rw-r--r--src/linked_list.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linked_list.rs b/src/linked_list.rs
index 3a0bda0..9ea4d19 100644
--- a/src/linked_list.rs
+++ b/src/linked_list.rs
@@ -566,6 +566,7 @@ mod tests {
fn test_zero_size() {
let ll: LinkedList<u32, Max, U0> = LinkedList::new();
+ assert!(ll.is_empty());
assert!(ll.is_full());
}