@Test
public void testFill_floatArr_float() {

    float[] array = new float[] {0.1f, 0.2f, 0.3f, 0.4f, 0.5f};
    float val = -0.7f;
    Tensor.fill(array, val);
    float[] expResult = new float[] {val, val, val, val, val};        
    assertArrayEquals(expResult, array, 0.0f);
}