@Test
public void test_computeBound_noAcceleration() {

    // Normal velocity
    long time = Confetto.computeBound(0f, 0.01f, 0f, null, null, -10000, 100);
    assertEquals(10000, time);
    time = Confetto.computeBound(0f, -0.01f, 0f, null, null, -100, 10000);
    assertEquals(10000, time);
    time = Confetto.computeBound(10f, 0.01f, 0f, null, null, -10000, 100);
    assertEquals(9000, time);
    time = Confetto.computeBound(10f, -0.01f, 0f, null, null, -100, 10000);
    assertEquals(11000, time);
    // Normal velocity with non-null unreachable target velocity
    time = Confetto.computeBound(0f, 0.01f, 0f, null, 0.02f, -10000, 100);
    assertEquals(10000, time);
    time = Confetto.computeBound(0f, -0.01f, 0f, null, 0.02f, -100, 10000);
    assertEquals(10000, time);
    // Normal velocity with non-null already-reached target velocity
    time = Confetto.computeBound(0f, 0.01f, 0f, 0L, -0.01f, -100, 10000);
    assertEquals(10000, time);
    // Normal velocity with the initial position past bound
    time = Confetto.computeBound(-100f, 0.01f, 0f, null, null, -50, 100);
    assertEquals(20000, time);
}