clone_wells(): Assert result equal to input
This adds a debug-mode safety belt that cloning wells produces a comparable set of wells to the input.
This commit is contained in:
parent
7f5ee5abf3
commit
001834ccab
@ -536,6 +536,8 @@ clone_wells(const struct Wells *W)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
assert (wells_equal(newWells, W, false));
|
||||||
|
|
||||||
return newWells;
|
return newWells;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user