| 34 | } |
| 35 | |
| 36 | TEST_F(ArrayTest, serializable_with_salar_element) { |
| 37 | ASSERT_TRUE(SerializeTraits<int[4]>::SERIALIZABLE); |
| 38 | int a[4] = {10010, 10086, 0, 0}; |
| 39 | ASSERT_TRUE(Serialization::serialize_to_string(a, string)); |
| 40 | int aa[4] = {-1, -1, -1, -1}; |
| 41 | ASSERT_TRUE(Serialization::parse_from_string(string, aa)); |
| 42 | assert_eq(a, aa); |
| 43 | } |
| 44 | |
| 45 | TEST_F(ArrayTest, support_varint_element) { |
| 46 | using S = int[4]; |
nothing calls this directly
no outgoing calls
no test coverage detected