Compare two same kind different type allocators
| 59 | |
| 60 | //Compare two same kind different type allocators |
| 61 | TEST_F(PmemAllocatorTests, |
| 62 | test_TC_MEMKIND_AllocatorCompare_SameKindDifferentType_Test) |
| 63 | { |
| 64 | pmem::allocator<int> alc1 { alloc_source_f1 }; |
| 65 | pmem::allocator<char> alc2 { alloc_source_f1 }; |
| 66 | ASSERT_TRUE(alc1 == alc2); |
| 67 | ASSERT_FALSE(alc1 != alc2); |
| 68 | } |
| 69 | |
| 70 | //Compare two same kind same type |
| 71 | TEST_F(PmemAllocatorTests, |
nothing calls this directly
no test coverage detected