@Test
public void testEquals_Object() {

    Tensor t1 = new Tensor(new float[] {0.2f, 0.4f, 0.6f, 0.8f});        
    Tensor t2 = new Tensor(new float[] {0.2f, 0.4f, 0.6f, 0.8f}); 
    Tensor t3 = new Tensor(new float[] {0.2f, 0.4f, 0.7f, 0.8f});                        
    
    boolean expResult = true;
    boolean result = t1.equals(t2);
    assertEquals(expResult, result);
    
    expResult = false;
    result = t1.equals(t3);
    assertEquals(expResult, result);        
}