Merge commit '6219b12730e29c357a02177dbee6e565987fcc56' into develop

This commit is contained in:
assistant-librarian[bot]
2025-12-13 15:11:36 +00:00
parent 76cfa34242
commit 5346923492
17 changed files with 1660 additions and 57 deletions

View File

@@ -5,6 +5,8 @@
#include "testing_utils.hpp"
using ck_tile::test::HipError;
using ck_tile::test::HipSuccess;
using ck_tile::test::InstanceMatcher;
using ck_tile::test::InstanceSet;
using ck_tile::test::StringEqWithDiff;
@@ -96,3 +98,12 @@ TEST(InstanceMatcher, ExplainMatchResult)
"Unexpected: 1\n"
"- python\n"));
}
TEST(HipStatusMatcher, Basic)
{
EXPECT_THAT(hipSuccess, HipSuccess());
EXPECT_THAT(hipErrorInvalidValue, HipError(hipErrorInvalidValue));
EXPECT_THAT(hipErrorInvalidValue, Not(HipSuccess()));
EXPECT_THAT(hipSuccess, Not(HipError(hipErrorInvalidValue)));
EXPECT_THAT(hipErrorOutOfMemory, Not(HipError(hipErrorInvalidValue)));
}