all_equal

odl.core.util.testutils.all_equal(iter1, iter2)[source]

Return True if all elements in a and b are equal. This is a more forgiving version of odl_all_equal, allowing also comparisons between e.g. a list and a LinearSpaceElement rather than requiring both sides to be compatible.