Floats { static Gen<Float> fromNegativeInfinityToNegativeZero() { return range(NEGATIVE_ZERO_CORRESPONDING_INT, NEGATIVE_INFINITY_CORRESPONDING_INT, NEGATIVE_ZERO_CORRESPONDING_INT); }    }
@Test public void shouldShrinkNegativeInfinityToNegativeZero() { Gen<Float> testee = Floats.fromNegativeInfinityToNegativeZero(); assertThatGenerator(testee).shrinksTowards(-0f); }