*/
@Test
public void testSetCount()
{
final FloatArray array = new FloatArray(4);
array.setValue(0, 1);
array.setValue(1, 2);
array.setValue(2, 3);
array.setValue(3, 4);
array.setCount(6);
assertEquals(6, array.getCount());
assertEquals(1, array.getValue(0), 0.001f);
assertEquals(2, array.getValue(1), 0.001f);
assertEquals(3, array.getValue(2), 0.001f);
assertEquals(4, array.getValue(3), 0.001f);
array.setCount(2);
assertEquals(2, array.getCount());
assertEquals(1, array.getValue(0), 0.001f);
assertEquals(2, array.getValue(1), 0.001f);
}