Skip to content

Commit

Permalink
added a minimal test
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed May 4, 2024
1 parent 5222af4 commit 8fbcf3b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Empty file added tests/__init__.py
Empty file.
16 changes: 16 additions & 0 deletions tests/test_init.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest

from hdf_compass.utils import __version__


class TestHDFCompass(unittest.TestCase):

def test_version(self):
self.assertEqual(len(__version__.split(".")), 3)
self.assertGreaterEqual(int(__version__.split(".")[0]), 0)


def suite():
s = unittest.TestSuite()
s.addTests(unittest.TestLoader().loadTestsFromTestCase(TestHDFCompass))
return s

0 comments on commit 8fbcf3b

Please sign in to comment.