checking that all values are in the specified interval. Fails if one is outside of the interval. Returns the value that failed
stopping as soon as a bad value is found: the test failed anyway