Skip to content

Commit

Permalink
test: add unit tests and data (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel Nützi <gnuetzi@gmail.com>
Co-authored-by: Cyril Matthey-Doret <cyril.mattheydoret@gmail.com>
Co-authored-by: Gabriel Nützi <gabriel.nuetzi@sdsc.ethz.ch>
  • Loading branch information
4 people committed Jun 24, 2024
1 parent f0747e0 commit a317d42
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ bitflags::bitflags! {
}
}


impl TripleMask {

// Checks if bit from another mask are all set in this mask
pub fn is_set(&self, other: &TripleMask) -> bool {
return (*other - *self).bits() != 0;
}

}

// Pseudonymize parts of a triple set by its mask
Expand Down

0 comments on commit a317d42

Please sign in to comment.