Skip to content

Commit

Permalink
feat: add code to test results
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelZe committed Jan 9, 2024
1 parent ec4e408 commit e3bdfee
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/comparison.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import json
from pathlib import Path

with Path("target.json").open() as json_file:
data_target = json.load(json_file)

with Path("current.json").open() as json_file:
data_current = json.load(json_file)

data_target = set(data_target)
data_current = set(data_current)

print(len(data_target))
print(len(data_current))
print("-" * 8)
print(data_target.difference(data_current))
print(data_current.difference(data_target))

0 comments on commit e3bdfee

Please sign in to comment.