Skip to content

Commit

Permalink
add a couple of test conditions for temp
Browse files Browse the repository at this point in the history
  • Loading branch information
dnil committed Oct 10, 2024
1 parent e9ced70 commit 04ae44c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/utils/test_acmg.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,20 @@ def test_acmg_benign_moderate():


def test_acmg_temperature():
acmg_terms = {"PVS1", "PS1", "PP1", "BS1", "BS2"}
res = get_acmg_temperature(acmg_terms)
assert res["points"] == 5
assert res["temperature"] == "Hot"
assert res["point_classification"] == "VUS"

acmg_terms = {"PS3_Moderate", "PP1_Moderate", "PP3", "BS1_Supporting"}
res = get_acmg_temperature(acmg_terms)
assert res["points"] == 4
assert res["temperature"] == "Warm"
assert res["point_classification"] == "VUS"

acmg_terms = {"PVS1", "BS2", "BP1"}
res = get_acmg_temperature(acmg_terms)
assert res["points"] == 3
assert res["temperature"] == "Tepid"
assert res["point_classification"] == "VUS"

0 comments on commit 04ae44c

Please sign in to comment.