Package br.com.objectos.way.io

Examples of br.com.objectos.way.io.ToLongVal


    assertThat(res.get(i2), equalTo(0l));
  }

  public void qtd_permutada() {
    LineKey<Long> key = keys().quantidadePermutada();
    List<Long> res = transform(regs, new ToLongVal(key));

    assertThat(res.get(i0), equalTo(0l));
    assertThat(res.get(i1), equalTo(0l));
    assertThat(res.get(i2), equalTo(0l));
  }
View Full Code Here


    assertThat(res.get(i2), equalTo(0l));
  }

  public void qtd_permutada_fora() {
    LineKey<Long> key = keys().quantidadePermutadaFora();
    List<Long> res = transform(regs, new ToLongVal(key));

    assertThat(res.get(i0), equalTo(0l));
    assertThat(res.get(i1), equalTo(0l));
    assertThat(res.get(i2), equalTo(0l));
  }
View Full Code Here

    assertThat(res.get(i2), equalTo(new LocalDate(1995, 1, 1)));
  }

  public void qtd_emitida() {
    LineKey<Long> key = keys().quantidadeEmitida();
    List<Long> res = transform(regs, new ToLongVal(key));

    assertThat(res.get(i0), equalTo(1176l));
    assertThat(res.get(i1), equalTo(60l));
    assertThat(res.get(i2), equalTo(6000l));
  }
View Full Code Here

    assertThat(res.get(i2), equalTo(6000l));
  }

  public void qtd_mercado() {
    LineKey<Long> key = keys().quantidadeMercado();
    List<Long> res = transform(regs, new ToLongVal(key));

    assertThat(res.get(i0), equalTo(0l));
    assertThat(res.get(i1), equalTo(60l));
    assertThat(res.get(i2), equalTo(0l));
  }
View Full Code Here

TOP

Related Classes of br.com.objectos.way.io.ToLongVal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.