diff --git a/fa-compression/src/algorithm2/mod.rs b/fa-compression/src/algorithm2/mod.rs index fe63209..3736398 100644 --- a/fa-compression/src/algorithm2/mod.rs +++ b/fa-compression/src/algorithm2/mod.rs @@ -64,6 +64,11 @@ mod tests { table } + #[test] + fn test_default() { + assert_eq!(CompressionTable::default().entries.len(), 0); + } + #[test] fn test_add_entry() { assert_eq!(create_compresion_table().entries.len(), 5);