| 70 | { |
| 71 | //************************************************************************* |
| 72 | TEST(test_construct_from_non_null_pointer) |
| 73 | { |
| 74 | static constexpr const int value = 123; |
| 75 | static constexpr etl::not_null<const int*> nn(&value); |
| 76 | static constexpr const int* p = nn.get(); |
| 77 | static constexpr const int v = *nn; |
| 78 | CHECK_EQUAL(&value, p); |
| 79 | CHECK_EQUAL(123, v); |
| 80 | } |
| 81 | |
| 82 | //************************************************************************* |
| 83 | TEST(test_copy_construct) |
nothing calls this directly
no test coverage detected