Package br.com.objectos.way.io

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


    assertThat(res.get(i(214)), equalTo(new LocalDate(1997, 5, 2)));
  }

  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 artig14() {
    LineKey<Long> key = keys().artigo14();
    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));
    assertThat(res.get(i(309)), equalTo(112000l));
View Full Code Here

    assertThat(res.get(i(309)), equalTo(112000l));
  }

  public void artig24() {
    LineKey<Long> key = keys().artigo24();
    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));
    assertThat(res.get(i(309)), equalTo(28000l));
View Full Code Here

    assertThat(res.get(i(309)), equalTo(28000l));
  }

  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

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

  public void qtd_tesouraria() {
    LineKey<Long> key = keys().quantidadeTesouraria();
    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));
    assertThat(res.get(i(210)), equalTo(1519760l));
View Full Code Here

    assertThat(res.get(i(210)), equalTo(1519760l));
  }

  public void qtd_resgatada() {
    LineKey<Long> key = keys().quantidadeResgatada();
    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));
    assertThat(res.get(i(605)), equalTo(15000l));
View Full Code Here

    assertThat(res.get(i(605)), equalTo(15000l));
  }

  public void qtd_cancelada() {
    LineKey<Long> key = keys().quantidadeCancelada();
    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));
    assertThat(res.get(i(361)), equalTo(1500l));
View Full Code Here

    assertThat(res.get(i(361)), equalTo(1500l));
  }

  public void qtd_convertida() {
    LineKey<Long> key = keys().quantidadeConvertida();
    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));
    assertThat(res.get(i(453)), equalTo(167243l));
View Full Code Here

    assertThat(res.get(i(453)), equalTo(167243l));
  }

  public void qtd_convertida_fora() {
    LineKey<Long> key = keys().quantidadeConvertidaFora();
    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() {
    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

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.