|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Reads where the layout cases' widgets are drawn, and fails a case whose probe reads no geometry. More...
#include <backend_conformance.hpp>
Public Member Functions | |
| Geometry (ConformanceProbe &probe, Checks &checks) | |
Over probe. | |
| WidgetBounds | of (Widget const &widget) |
Where widget is drawn; zero, with the case failed, when the probe reads no geometry. | |
| void | near (std::string_view what, double expected, double actual) |
| Checks that a length is what it should be, within one unit. | |
Reads where the layout cases' widgets are drawn, and fails a case whose probe reads no geometry.
Definition at line 1409 of file backend_conformance.hpp.
|
inline |
Over probe.
| probe | The backend under test. |
| checks | The case's checks. |
Definition at line 1414 of file backend_conformance.hpp.
|
inlinenodiscard |
Where widget is drawn; zero, with the case failed, when the probe reads no geometry.
| widget | The widget. |
Definition at line 1419 of file backend_conformance.hpp.
|
inline |
Checks that a length is what it should be, within one unit.
| what | What is measured, for the message. |
| expected | The length it should be. |
| actual | The length it is. |
Definition at line 1429 of file backend_conformance.hpp.