Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lmdulz committed Feb 22, 2024
1 parent 052031b commit f7e42a3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/test_anonymize_single_instance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,12 @@ describe("patient", async () => {
originalIDs[2],
originalIDs[3]
);
console.log("thats origIDs:", originalIDs);

console.log("länge:", dataset.dict["00101000"].Value.length);
console.log("inhalt:", dataset.dict["00101000"]);
const anonymizer = new Anonymizer();
await anonymizer.anonymize(dataset);
const actual = dataset.dict["00101000"].Value;
console.log(originalIDs);
console.log(actual);

for (let i = 0; i < originalIDs.length; i++) {
console.log(actual[i]);
expect(typeof actual[i]).toBe("string");
expect(originalIDs[i]).not.toEqual(actual[i]);
}
Expand Down

0 comments on commit f7e42a3

Please sign in to comment.