Skip to content

Commit

Permalink
full test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Apr 4, 2024
1 parent 859a1fb commit fc0a0fa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions fa-compression/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,18 @@ mod tests {
fn test_decode_pair_invalid() {
CharacterSet::decode_pair(0b11111111);
}

#[test]
fn test_clone() {
let character_set = CharacterSet::Empty;
let character_set_clone = character_set.clone();
assert_eq!(character_set, character_set_clone);
}

#[test]
fn test_copy() {
let character_set = CharacterSet::Empty;
let character_set_copy = character_set;
assert_eq!(character_set, character_set_copy);
}
}

0 comments on commit fc0a0fa

Please sign in to comment.