Skip to content
Snippets Groups Projects
Commit d056efb0 authored by Markus Holzer's avatar Markus Holzer
Browse files

Add test cases

parent 22b725d6
No related branches found
No related tags found
1 merge request!308Remove depricated feature
......@@ -60,6 +60,16 @@ def test_config():
assert config.default_number_int == BasicType('int64')
def test_config_target_as_string():
with pytest.raises(ValueError):
CreateKernelConfig(target='cpu')
def test_config_backend_as_string():
with pytest.raises(ValueError):
CreateKernelConfig(backend='C')
def test_config_python_types():
with pytest.raises(ValueError):
CreateKernelConfig(data_type=float)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment