From 5ff7f3a17e1f39ba3d11fcae2b5a28f85a5273f7 Mon Sep 17 00:00:00 2001 From: olly Date: Thu, 31 Oct 2019 13:10:38 +0000 Subject: [PATCH] Remove pointless arithmetic PiperOrigin-RevId: 277706810 --- .../android/exoplayer2/testutil/FakeAdaptiveDataSetTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testutils/src/test/java/com/google/android/exoplayer2/testutil/FakeAdaptiveDataSetTest.java b/testutils/src/test/java/com/google/android/exoplayer2/testutil/FakeAdaptiveDataSetTest.java index 714c77f8d3..c0351967bf 100644 --- a/testutils/src/test/java/com/google/android/exoplayer2/testutil/FakeAdaptiveDataSetTest.java +++ b/testutils/src/test/java/com/google/android/exoplayer2/testutil/FakeAdaptiveDataSetTest.java @@ -90,7 +90,7 @@ public final class FakeAdaptiveDataSetTest { for (int i = 0; i < dataSet.getChunkCount() - 1; i++) { assertThat(dataSet.getChunkDuration(i)).isEqualTo(chunkDuration); } - assertThat(dataSet.getChunkDuration(3)).isEqualTo(1 * C.MICROS_PER_SECOND); + assertThat(dataSet.getChunkDuration(3)).isEqualTo(C.MICROS_PER_SECOND); assertChunkData(dataSet, chunkDuration); } @@ -101,7 +101,7 @@ public final class FakeAdaptiveDataSetTest { new FakeAdaptiveDataSet( TRACK_GROUP, 100000 * C.MICROS_PER_SECOND, - 1 * C.MICROS_PER_SECOND, + C.MICROS_PER_SECOND, expectedStdDev, new Random(0)); for (int i = 0; i < TEST_FORMATS.length; i++) {