File: test_version.py

package info (click to toggle)
python-cykhash 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,240 kB
  • sloc: python: 3,954; sh: 90; makefile: 7
file content (15 lines) | stat: -rw-r--r-- 317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from unittestmock import UnitTestMock

import cykhash


class TestVersion(UnitTestMock): 

   def test_major(self):
      self.assertEqual(cykhash.__version__[0], 2)

   def test_minor(self):
      self.assertEqual(cykhash.__version__[1], 0)

   def test_last(self):
      self.assertEqual(cykhash.__version__[2], 0)