hydromt.model.components.VectorComponent.test_equal#

VectorComponent.test_equal(other: ModelComponent) tuple[bool, dict[str, str]][source]#

Test if two components are equal.

Parameters:

other (ModelComponent) – The component to compare against.

Returns:

True if the components are equal, and a dict with the associated errors per property checked.

Return type:

tuple[bool, dict[str, str]]