diff options
Diffstat (limited to 'tests/test_core_helpers.py')
-rw-r--r-- | tests/test_core_helpers.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test_core_helpers.py b/tests/test_core_helpers.py new file mode 100644 index 0000000..8577617 --- /dev/null +++ b/tests/test_core_helpers.py @@ -0,0 +1,17 @@ +# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. +# SPDX-License-Identifier: Apache-2.0 +"""Tests for the helper classes.""" +from mlia.core.helpers import APIActionResolver + + +def test_api_action_resolver() -> None: + """Test APIActionResolver class.""" + helper = APIActionResolver() + + # pylint: disable=use-implicit-booleaness-not-comparison + assert helper.apply_optimizations() == [] + assert helper.supported_operators_info() == [] + assert helper.check_performance() == [] + assert helper.check_operator_compatibility() == [] + assert helper.operator_compatibility_details() == [] + assert helper.optimization_details() == [] |