aboutsummaryrefslogtreecommitdiff
path: root/tests/mlia/test_core_helpers.py
blob: 857761743b72861104947670d82c99fd8228db8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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() == []