mirror of
https://github.com/luxfi/fhe-ml.git
synced 2026-10-30 19:52:59 +00:00
23 lines
474 B
Python
23 lines
474 B
Python
"""Testing the version of the package"""
|
|
|
|
import concrete
|
|
from concrete import ml
|
|
|
|
|
|
def check_version(version):
|
|
"""Check that it looks good"""
|
|
print("version", version)
|
|
assert version.count(".") == 2
|
|
|
|
|
|
def test_version_1():
|
|
"""Test that concrete.ml.__version__ exists"""
|
|
version = concrete.ml.__version__
|
|
check_version(version)
|
|
|
|
|
|
def test_version_2():
|
|
"""Test that ml.__version__ exists"""
|
|
version = ml.__version__
|
|
check_version(version)
|