[GeometryInterface] Clean-up layout tests for geometry interfaces.
Make the assert functions take array instead of dictionary as expected argument.
Also, fix wrong indentation in test codes.
BUG=None
Committed:
https://crrev.com/33bb8aa1a9372768853a61717747e7551d9dbc54
Cr-Commit-Position: refs/heads/master@{#421272}