Go to the source code of this file.
◆ TEST_SUITE()
TEST_SUITE |
( |
"RefBackendTests" |
| ) |
|
Definition at line 13 of file RefBackendTests.cpp.
References RefTensorHandleFactory::GetIdStatic().
15 TEST_CASE(
"RefRegisterTensorHandleFactoriesMatchingImportFactoryId")
17 auto refBackend = std::make_unique<RefBackend>();
19 refBackend->RegisterTensorHandleFactories(registry);
23 CHECK((registry.GetMatchingImportFactoryId(RefTensorHandleFactory::GetIdStatic()) ==
24 RefTensorHandleFactory::GetIdStatic()));
27 TEST_CASE(
"RefCreateWorkloadFactoryMatchingImportFactoryId")
29 auto refBackend = std::make_unique<RefBackend>();
31 refBackend->CreateWorkloadFactory(registry);
35 CHECK((registry.GetMatchingImportFactoryId(RefTensorHandleFactory::GetIdStatic()) ==
36 RefTensorHandleFactory::GetIdStatic()));