mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-16 19:09:59 +00:00
Merge commit '6219b12730e29c357a02177dbee6e565987fcc56' into develop
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user