!**< def
!define map (|yellow|orange|
|orange|green|
)
!define test (!|fitlibrary.specify.mapTraverse.ColourMap|
|''checks''|
|''colour map''||
|''colour map''|${map}|
)
**!
The error given on a mismatch will depend on whether the key of an element of the actual map corresponds to the key cell of a row in the table.
|!-fitlibrary.spec.SpecifyFixture-!|
|${test}|!-
fitlibrary.specify.mapTraverse.ColourMap |
colour map |
expected Colour[red]->Colour[green], Colour[yellow]->Colour[blue] actual |
colour map |
yellow |
orange expected Colour[blue] actual |
orange missing |
green |
Colour[red] surplus |
Colour[green] |
|
-!|