aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core_helpers.py
blob: 03ec3f04fa1e7b827c9644b3e263522a307d4a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-FileCopyrightText: Copyright 2022-2023, 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.check_performance() == []
    assert helper.check_operator_compatibility() == []
    assert helper.operator_compatibility_details() == []
    assert helper.optimization_details() == []