def test_xmin(): assert 0 == xmin('abcd') assert 2 == xmin((2, None, 'x', 3)) assert -0.1 == xmin((-0.1, None, 'x', True)) assert VALUE_ERROR == xmin(VALUE_ERROR) assert VALUE_ERROR == xmin((2, VALUE_ERROR)) assert DIV0 == xmin(DIV0) assert DIV0 == xmin((2, DIV0))