Exemplo n.º 1
0
  @Test
  public void retornaSeBaseForValor4() throws Exception {

    Triangulo triangulo = new Triangulo(new Base(4), new AlturaDireita(6), new AlturaEsquerda(7));
    assertThat(triangulo.retornaValorBase(), is(4.0));
  }