Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akihironitta authored Jul 27, 2023
1 parent 51f30c9 commit 2c95b33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/loader/test_link_neighbor_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ def test_temporal_homo_link_neighbor_loader():
)

for sample in loader:
assert sample.edge_label_index.size() == (batch_size,)
assert sample.edge_label_index.size() == (2, batch_size)
assert sample.edge_label_time.size() == (batch_size,)
assert sample.edge_label.size() == (batch_size,)
assert torch.all(
sample.edge_time <= sample.edge_label_time
), "The target time should be later than all timestamps in the subgraph"
Expand Down

0 comments on commit 2c95b33

Please sign in to comment.