Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrislain committed Sep 18, 2023
1 parent ecb2060 commit 89248df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/differential_privacy/protect_grouping_keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ mod tests {
.build(),
)
.build();
table.display_dot();
let rel = table.released_values(1., 0.003, 5.).unwrap();
matches!(rel, Relation::Join(_));
rel.display_dot();
Expand All @@ -261,6 +262,7 @@ mod tests {
.build(),
)
.build();
table.display_dot();
let rel = table.released_values(1., 0.003, 5.).unwrap();
matches!(rel, Relation::Map(_));
rel.display_dot();
Expand All @@ -275,6 +277,7 @@ mod tests {
.build(),
)
.build();
table.display_dot();
let rel = table.released_values(1., 0.003, 5.).unwrap();
matches!(rel, Relation::Join(_));
rel.display_dot();
Expand All @@ -301,6 +304,7 @@ mod tests {
vec![],
Rc::new(table.clone()),
);
Relation::from(red.clone()).display_dot();
let rel = red.protect_grouping_keys(1., 0.003, 5.).unwrap();
rel.display_dot();
assert_eq!(rel.schema().fields().len(), 1);
Expand Down

0 comments on commit 89248df

Please sign in to comment.