kernel-luso-comfort commited on
Commit
5ee40a1
·
1 Parent(s): 29c9bfa

Rename test function for clarity and consistency

Browse files
test_inference_utils/test_target_dist.py CHANGED
@@ -1,7 +1,7 @@
1
  from inference_utils.target_dist import modality_targets_from_target_dist
2
 
3
 
4
- def test_target_dist_dict_to_modality_targets():
5
  target_dist_dict = {
6
  "CT-Abdomen": {"postcava": [[1, 2], [3, 4]], "aorta": [[5, 6], [7, 8]]},
7
  "CT-Chest": {"nodule": [[9, 10], [11, 12]], "tumor": [[13, 14], [15, 16]]},
 
1
  from inference_utils.target_dist import modality_targets_from_target_dist
2
 
3
 
4
+ def test_modality_targets_from_target_dist():
5
  target_dist_dict = {
6
  "CT-Abdomen": {"postcava": [[1, 2], [3, 4]], "aorta": [[5, 6], [7, 8]]},
7
  "CT-Chest": {"nodule": [[9, 10], [11, 12]], "tumor": [[13, 14], [15, 16]]},