| 50 | } |
| 51 | |
| 52 | void annotation_key_test() { |
| 53 | ASSERT_EQUAL(23, coerce<int64_t>(annotation_key(23))); |
| 54 | ASSERT_EQUAL(23u, get<uint64_t>(annotation_key(23))); |
| 55 | ASSERT_EQUAL("foo", coerce<std::string>(annotation_key("foo"))); |
| 56 | ASSERT_EQUAL(scalar(symbol("foo")), annotation_key("foo")); |
| 57 | } |
| 58 | |
| 59 | template <class T> T make(const char c) { T x; std::fill(x.begin(), x.end(), c); return x; } |
| 60 |
no test coverage detected