| 108 | } |
| 109 | |
| 110 | void TestReleaseUnused() { |
| 111 | auto pool = memory_pool(); |
| 112 | const int64_t nbytes = pool->bytes_allocated(); |
| 113 | pool->ReleaseUnused(); |
| 114 | // Unfortunately there's not much that we can assert here |
| 115 | ASSERT_EQ(nbytes, pool->bytes_allocated()); |
| 116 | } |
| 117 | }; |
| 118 | |
| 119 | } // namespace arrow |
no test coverage detected