Skip to content

Commit

Permalink
complete test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Apr 8, 2024
1 parent 889af07 commit ead53df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fa-compression/src/algorithm2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ead53df

Please sign in to comment.