コード例 #1
0
  @Test
  public void setLayerCalculator() {
    LayerCalculatorImpl calc = new LayerCalculatorImpl();
    network.setLayerCalculator(calc);

    assertEquals(calc, network.getLayerCalculator());
  }
コード例 #2
0
 @Test
 public void uninitializedNetworkDoesntHaveALayerCalculator() {
   assertNull(network.getLayerCalculator());
 }