// SPDX-License-Identifier: MIT // Copyright (c) 2025, Advanced Micro Devices, Inc. All rights reserved. #pragma once #include #include #include "ck_tile/core/utility/print.hpp" class PrintTest : public ::testing::Test { protected: void SetUp() override {} void TearDown() override {} // Helper function to capture and return the output of a print function template std::string CapturePrintOutput(const T& type) { using namespace ck_tile; testing::internal::CaptureStdout(); print(type); return testing::internal::GetCapturedStdout(); } };