@Test
void isConstrained() {

    assertThat(Range.of(10L, 20L).isConstrained()).isTrue();
    assertThat(Range.from(10L).isConstrained()).isTrue();
    assertThat(Range.to(20L).isConstrained()).isTrue();
    assertThat(new Range<Long>().isConstrained()).isFalse();
}