class FlatlandDifferentialTest

Defined at line 31 of file ../../src/ui/scenic/lib/flatland/tests/flatland_differential_unittest.cc

A test fixture which supports direct comparison of the "legacy" and "Flatland2 schema" execution

paths, to guarantee that both paths produce an equivalent vector of `ResolvedLayer` (and will

therefore produce identical on-screen results).

Protected Methods

std::vector<std::vector<ResolvedLayer>> RunScript (bool use_flatland2_schema, const ScriptFunc & script)

Runs the given `script` under the specified UberStruct schema (legacy if `use_flatland2_schema`

is false, or Flatland2 if true). Returns a list of resolved layer vectors, one vector for each

`present_and_capture` call made by the script.

Defined at line 41 of file ../../src/ui/scenic/lib/flatland/tests/flatland_differential_unittest.cc

void ExpectResolvedLayersEqual (const std::vector<ResolvedLayer> & l1, const std::vector<ResolvedLayer> & l2)

Defined at line 127 of file ../../src/ui/scenic/lib/flatland/tests/flatland_differential_unittest.cc

void ExpectMultiPresentResolvedLayersEqual (const std::vector<std::vector<ResolvedLayer>> & l1, const std::vector<std::vector<ResolvedLayer>> & l2)

Defined at line 193 of file ../../src/ui/scenic/lib/flatland/tests/flatland_differential_unittest.cc