13 #include "../internal/database.h"
14 #include "../internal/streaming.h"
17 #define CHECK_STREAM_ENTRY(_stream, _index, _codepoint, _qc, _ccc) { \
18 ::helpers::StreamEntry e; \
19 e.codepoint = _codepoint; \
20 e.quick_check = QuickCheckResult_ ## _qc; \
21 e.canonical_combining_class = _ccc; \
22 ::helpers::StreamEntry a; \
24 a.codepoint = (_stream).codepoint[_index]; \
25 a.quick_check = (_stream).quick_check[_index]; \
26 a.canonical_combining_class = (_stream).canonical_combining_class[_index]; \
27 EXPECT_PRED_FORMAT2(::helpers::CompareStream, e, a); \
32 StreamState createStream(
const std::string& text);
39 uint8_t canonical_combining_class;
42 ::testing::AssertionResult CompareStream(
43 const char* expressionExpected,
const char* expressionActual,
44 const StreamEntry& entryExpected,
const StreamEntry& entryActual);
uint32_t unicode_t
UTF-32 encoded code point.
Definition: utf8rewind.h:203
Base includes for helper methods.