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