def test_no_duplicate_families(family_tags):
- import pdb; pdb.set_trace()
seen = set()
dups = []
for family, cat, _ in family_tags:
if key in seen:
dups.append(",".join(key))
seen.add(key)
- assert not dups, f"Duplicate tags found: {dups}"
\ No newline at end of file
+ assert not dups, f"Duplicate tags found: {dups}"
+
+
+def test_tag_vals_in_range(family_tags):
+ out_of_range = []
+ for family, cat, val in family_tags:
+ if val <= 0 or val > 100:
+ out_of_range.append((family, cat, val))
+ assert not out_of_range, f"Values out of range 1-100: {out_of_range}"