hydromt.model.components.GeomsComponent.test_equal#
- GeomsComponent.test_equal(other: ModelComponent) Tuple[bool, Dict[str, str]] [source]#
Test if two GeomsComponents are equal.
- Parameters:
other (
GeomsComponent
) – The other GeomsComponent to compare with.- Returns:
True if the components are equal, and a dict with the associated errors per property checked.
- Return type:
tuple[bool
,dict[str
,str]]