Crate repr_test_util[−][src]
Expand description
Utilities to build objects from the repr
crate for unit testing.
These test utilities are relied by crates other than repr
.
Structs
Functions
Convert a Datum to a String such that test_spec_to_row can convert the String back into a row containing the same Datum.
If the stream starts with a sequence of tokens that can be parsed as a datum, return those tokens as one string.
Parses ScalarType
from scalar_type_stream
or infers it from litval
Parse a token as a vec of strings that can be parsed as datums in a row.
Constructs a Row
from a sequence of litval
and littyp
.