@Test
public void testSub_floatArr_floatArr() {

    float[] array1 = new float[] {0.2f, 0.4f, 0.6f, 0.8f};        
    float[] array2 = new float[] {0.1f, 0.2f, 0.3f, 0.2f};        
    float[] expResult = new float[] {0.1f, 0.2f, 0.3f, 0.6f};
    Tensor.sub(array1, array2);
    assertArrayEquals(expResult, array1, 0.0f);        
}