@@ -0,0 +1,1798 @@
+package android.graphics;%0A%0Aimport static com.google.common.truth.Truth.assertThat;%0A%0Aimport androidx.test.runner.AndroidJUnit4;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.robolectric.annotation.internal.DoNotInstrument;%0A%0A/** Compatibility test for %7B@link Matrix%7D */%0A@DoNotInstrument%0A@RunWith(AndroidJUnit4.class)%0Apublic final class MatrixTest %7B%0A%0A  @Test%0A  public void mapRadius() throws Exception %7B%0A    Matrix matrix = new Matrix();%0A%0A    assertThat(matrix.mapRadius(100f)).isEqualTo(100f);%0A    assertThat(matrix.mapRadius(Float.MAX_VALUE)).isEqualTo(Float.POSITIVE_INFINITY);%0A    assertThat(matrix.mapRadius(Float.MIN_VALUE)).isEqualTo(0f);%0A%0A    matrix.postScale(2.0f, 2.0f);%0A    assertThat(matrix.mapRadius(1.0f)).isWithin(0.01f).of(2.0f);%0A  %7D%0A%0A  @Test%0A  public void mapPoints() %7B%0A    float%5B%5D value = new float%5B9%5D;%0A    value%5B0%5D = 100f;%0A    new Matrix().mapPoints(value);%0A    assertThat(value%5B0%5D).isEqualTo(100f);%0A  %7D%0A%0A  @Test(expected = Exception.class)%0A  public void mapPointsNull() %7B%0A    new Matrix().mapPoints(null);%0A  %7D%0A%0A  @Test%0A  public void mapPoints2() %7B%0A    float%5B%5D dst = new float%5B9%5D;%0A    dst%5B0%5D = 100f;%0A    float%5B%5D src = new float%5B9%5D;%0A    src%5B0%5D = 200f;%0A    new Matrix().mapPoints(dst, src);%0A    assertThat(dst%5B0%5D).isEqualTo(200f);%0A  %7D%0A%0A  @Test(expected = Exception.class)%0A  public void mapPointsArraysMismatch() %7B%0A    new Matrix().mapPoints(new float%5B8%5D, new float%5B9%5D);%0A  %7D%0A%0A  @Test%0A  public void mapPointsWithIndices() %7B%0A    float%5B%5D dst = new float%5B9%5D;%0A    dst%5B0%5D = 100f;%0A    float%5B%5D src = new float%5B9%5D;%0A    src%5B0%5D = 200f;%0A    new Matrix().mapPoints(dst, 0, src, 0, 9 %3E%3E 1);%0A    assertThat(dst%5B0%5D).isEqualTo(200f);%0A  %7D%0A%0A  @Test(expected = Exception.class)%0A  public void mapPointsWithIndicesNull() %7B%0A    new Matrix().mapPoints(null, 0, new float%5B9%5D, 0, 1);%0A  %7D%0A%7D%0A

Add CTEsque tests for Matrix.mapPoints()