| 114 | { |
| 115 | //************************************************************************* |
| 116 | TEST(test_default_constructor) |
| 117 | { |
| 118 | static constexpr Data data; |
| 119 | |
| 120 | static constexpr bool is_valid = data.is_valid(); |
| 121 | static constexpr size_t size = data.size(); |
| 122 | static constexpr bool empty = data.empty(); |
| 123 | static constexpr bool full = data.full(); |
| 124 | static constexpr size_t capacity = data.capacity(); |
| 125 | static constexpr size_t max_size = data.max_size(); |
| 126 | static constexpr const_iterator begin = data.begin(); |
| 127 | static constexpr const_iterator end = data.end(); |
| 128 | |
| 129 | CHECK_TRUE(is_valid); |
| 130 | CHECK_TRUE(size == 0UL); |
| 131 | CHECK_TRUE(empty); |
| 132 | CHECK_FALSE(full); |
| 133 | CHECK_TRUE(capacity == 0); |
| 134 | CHECK_TRUE(max_size == 0); |
| 135 | CHECK_TRUE(begin == end); |
| 136 | } |
| 137 | |
| 138 | //************************************************************************* |
| 139 | TEST(test_constructor_min_size_from_span) |
nothing calls this directly
no test coverage detected