@Test
public void testSetValues() {

    float[] values = new float[] {0.1f, 0.2f, 0.3f, 0.4f, 0.5f};
    Tensor instance = new Tensor(5);
    instance.setValues(values);
    float[] result = instance.getValues();
    float[] expResult = new float[] {0.1f, 0.2f, 0.3f, 0.4f, 0.5f};
    assertArrayEquals(expResult, result, 0.0f);
}