//===- TensorSpecTest.cpp - test for TensorSpec ---------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/Analysis/TensorSpec.h" #include "llvm/Support/JSON.h" #include "llvm/Support/Path.h" #include "llvm/Support/SourceMgr.h" #include "llvm/Testing/Support/SupportHelpers.h" #include "gtest/gtest.h" usingnamespacellvm; extern const char *TestMainArgv0; TEST(TensorSpecTest, JSONParsing) { … } TEST(TensorSpecTest, JSONParsingInvalidTensorType) { … } TEST(TensorSpecTest, TensorSpecSizesAndTypes) { … } TEST(TensorSpecTest, PrintValueForDebug) { … }