Skip to content

Commit

Permalink
Testing GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mkranzlein committed Aug 20, 2023
1 parent e22332f commit 4f88859
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/utils_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import torch

import hipool.utils as utils


def test_loss_fun():
"""Trivial test for setting up GitHub Actions.
asdf
"""
output = utils.loss_fun(torch.randn((5, 3)), torch.randn((5, 3)))
print(type(output))
assert type(output) == torch.Tensor

0 comments on commit 4f88859

Please sign in to comment.