aboutsummaryrefslogtreecommitdiff
path: root/tests/test_backend_corstone.py
blob: 29ef0844c1363e531d03647fb4cd5f55a8f70982 (plain)
1
2
3
4
5
6
7
8
9
10
11
# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
"""Tests for Corstone backend."""
from mlia.backend.corstone import is_corstone_backend


def test_is_corstone_backend() -> None:
    """Test function is_corstone_backend."""
    assert is_corstone_backend("Corstone-300") is True
    assert is_corstone_backend("Corstone-310") is True
    assert is_corstone_backend("New backend") is False