Skip to content

Ord.longOrd.isGreaterThan(a).f(a) yields true  #293

@prange

Description

@prange

The test

@Test
public void longOrdIsGreaterThan() {
    Long instant1 = 1;
    Long instant2 = 2;

    F<Long, Boolean> pred = Ord.longOrd.isGreaterThan(instant1);
    assertThat(pred.f(instant2), is(true));
    assertThat(pred.f(instant1), is(false));
}

fails in 4.6. Ok in 4.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions