1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Assertions shared by the streaming unit tests.
//!
//! Both accumulators and the buffers beneath them are checked against the same structural
//! guarantees, so the assertions live once. A per-module copy of [`sole_finish`] in
//! particular would be three chances to weaken the guarantee for one protocol without any
//! test noticing.
use crate;
/// Concatenates every text block in an event batch.
/// Concatenates every reasoning event in a batch.
/// The reason from the batch's single [`StreamEvent::Finish`], asserting it is also last.