blob: 190931a77dc9af6238ff67679d468b88674ae832 (
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
|