Skip to content

Commit

Permalink
add main for test
Browse files Browse the repository at this point in the history
  • Loading branch information
cherryWangY committed Nov 5, 2024
1 parent 14ac57b commit c91b8bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/tests/pt/test_model_compression_se_a.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
)

# from deepmd.tf.entrypoints.compress import compress
from source.tests.pt.common import (
from .common import (
j_loader,
run_dp,
tests_path,
Expand Down Expand Up @@ -573,3 +573,7 @@ def test_2frame_atm(self):
np.testing.assert_almost_equal(av0, av1, default_places)
np.testing.assert_almost_equal(ee0, ee1, default_places)
np.testing.assert_almost_equal(vv0, vv1, default_places)


if __name__ == "__main__":
unittest.main()

0 comments on commit c91b8bb

Please sign in to comment.