@Test
public void testGetSeekPoints_forSeekableInput_forSeekPointAtSyncPosition_return1SeekPoint() {

  constantBitrateSeekMap =
      new ConstantBitrateSeekMap(
          /* inputLength= */ 2_300,
          /* firstFrameBytePosition= */ 100,
          /* bitrate= */ 8_000,
          /* frameSize= */ 100);
  SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 1_200_000);
  // Bitrate = 8000 (bits/s) = 1000 (bytes/s)
  // FrameSize = 100 (bytes), so 1 frame = 1s = 100_000 us
  assertThat(seekPoints.first.timeUs).isEqualTo(1_200_000);
  assertThat(seekPoints.first.position).isEqualTo(1300);
  assertThat(seekPoints.second).isEqualTo(seekPoints.first);
}