Skip to content

Commit

Permalink
Remove get from test names for flag setting
Browse files Browse the repository at this point in the history
  • Loading branch information
cmalinmayor committed Jan 8, 2024
1 parent a49865a commit 528323b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_tracking_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def test_get_connected_components(complex_graph, nx_comp1, nx_comp2):
assert track2.graph.edges == nx_comp2.edges


def test_get_and_set_flag_on_node(simple_graph):
def test_set_flag_on_node(simple_graph):
assert simple_graph.nodes()["1_0"] == {"id": "1_0", "t": 0, "y": 1, "x": 1}
assert simple_graph.nodes()["1_1"] == {
"id": "1_1",
Expand Down Expand Up @@ -244,7 +244,7 @@ def test_get_and_set_flag_on_node(simple_graph):
simple_graph.set_flag_on_node("1_0", "x", 2)


def test_get_and_set_flag_on_edge(simple_graph):
def test_set_flag_on_edge(simple_graph):
edge_id = ("1_1", "1_3")
assert EdgeFlag.TRUE_POS not in simple_graph.edges()[edge_id]

Expand Down

1 comment on commit 528323b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Mean (s) BASE c681c3d Mean (s) HEAD 528323b Percent Change
test_load_gt_data 1.32279 1.2926 -2.28
test_load_pred_data 1.20402 1.22978 2.14
test_ctc_checks 0.46473 0.4697 1.07
test_ctc_matched 2.46241 2.49998 1.53
test_ctc_metrics 0.59481 0.50587 -14.95
test_ctc_div_metrics 0.3057 0.30744 0.57
test_iou_matched 9.20585 8.58957 -6.69
test_iou_div_metrics 0.28436 0.29757 4.65

Please sign in to comment.