From 89248df018b702c9a6a4e61ca111ae69c88ee363 Mon Sep 17 00:00:00 2001 From: Nicolas Grislain Date: Mon, 18 Sep 2023 13:28:28 +0200 Subject: [PATCH] ok --- src/differential_privacy/protect_grouping_keys.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/differential_privacy/protect_grouping_keys.rs b/src/differential_privacy/protect_grouping_keys.rs index 884f99ab..a050d61d 100644 --- a/src/differential_privacy/protect_grouping_keys.rs +++ b/src/differential_privacy/protect_grouping_keys.rs @@ -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(); @@ -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(); @@ -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(); @@ -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);