// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateBy(@NonNull View view, float translationXBy, float translationYBy) {
//     return translateBy(view, translationXBy, translationYBy, AnimationConstants.DURATION_DEFAULT, AnimationConstants.INTERPOLATOR);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateQuicklyBy(@NonNull View view, float translationXBy, float translationYBy) {
//     return translateBy(view, translationXBy, translationYBy, AnimationConstants.DURATION_QUICK);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateQuicklyTo(@NonNull View view, float translationX, float translationY) {
//     return translateTo(view, translationX, translationY, AnimationConstants.DURATION_QUICK);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateSlowlyBy(@NonNull View view, float translationXBy, float translationYBy) {
//     return translateBy(view, translationXBy, translationYBy, AnimationConstants.DURATION_SLOW);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateSlowlyTo(@NonNull View view, float translationX, float translationY) {
//     return translateTo(view, translationX, translationY, AnimationConstants.DURATION_SLOW);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateTo(@NonNull View view, float translationX, float translationY) {
//     return translateTo(view, translationX, translationY, AnimationConstants.DURATION_DEFAULT, AnimationConstants.INTERPOLATOR);
// }


import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateBy;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateQuicklyBy;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateQuicklyTo;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateSlowlyBy;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateSlowlyTo;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateTo;
import static org.junit.Assert.assertEquals;
        assertTestObserverCompletedAfterDuration(CUSTOM_TEST_DURATION_MS);
        assertEquals(TRANSLATE_BY_X_VALUE, view.getTranslationX(), 0.1f);
        assertEquals(TRANSLATE_BY_Y_VALUE, view.getTranslationY(), 0.1f);
    }

    @Test
    public void testTranslateByWithInterpolator() {
        // TODO Find a way to test interpolator.
    }

    @Test
    public void testTranslateByWithDurationAndInterpolator() {
        // TODO Find a way to test interpolator.
    }

    @Test
    public void testTranslateQuicklyBy() throws InterruptedException {
        translateQuicklyBy(view, TRANSLATE_BY_X_VALUE, TRANSLATE_BY_Y_VALUE).subscribe(o);
        assertTestObserverCompletedAfterDuration(AnimationConstants.DURATION_QUICK);
        assertEquals(TRANSLATE_BY_X_VALUE, view.getTranslationX(), 0.1f);
        assertEquals(TRANSLATE_BY_Y_VALUE, view.getTranslationY(), 0.1f);
    }

    @Test
    public void testTranslateQuicklyByWithInterpolator() {
        // TODO Find a way to test interpolator.
    }

    @Test
    public void testTranslateSlowlyBy() throws InterruptedException {
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateBy(@NonNull View view, float translationXBy, float translationYBy) {
//     return translateBy(view, translationXBy, translationYBy, AnimationConstants.DURATION_DEFAULT, AnimationConstants.INTERPOLATOR);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateQuicklyBy(@NonNull View view, float translationXBy, float translationYBy) {
//     return translateBy(view, translationXBy, translationYBy, AnimationConstants.DURATION_QUICK);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateQuicklyTo(@NonNull View view, float translationX, float translationY) {
//     return translateTo(view, translationX, translationY, AnimationConstants.DURATION_QUICK);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateSlowlyBy(@NonNull View view, float translationXBy, float translationYBy) {
//     return translateBy(view, translationXBy, translationYBy, AnimationConstants.DURATION_SLOW);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateSlowlyTo(@NonNull View view, float translationX, float translationY) {
//     return translateTo(view, translationX, translationY, AnimationConstants.DURATION_SLOW);
// }
// 
// Path: vangogh/src/main/java/com/pspdfkit/labs/vangogh/api/TranslateAnimations.java
// public static AnimationCompletable translateTo(@NonNull View view, float translationX, float translationY) {
//     return translateTo(view, translationX, translationY, AnimationConstants.DURATION_DEFAULT, AnimationConstants.INTERPOLATOR);
// }


// Path: vangogh/src/androidTest/java/com/pspdfkit/labs/vangogh/api/TranslateAnimationsTest.java
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateBy;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateQuicklyBy;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateQuicklyTo;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateSlowlyBy;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateSlowlyTo;
import static com.pspdfkit.labs.vangogh.api.TranslateAnimations.translateTo;
import static org.junit.Assert.assertEquals;

        assertTestObserverCompletedAfterDuration(CUSTOM_TEST_DURATION_MS);
        assertEquals(TRANSLATE_BY_X_VALUE, view.getTranslationX(), 0.1f);
        assertEquals(TRANSLATE_BY_Y_VALUE, view.getTranslationY(), 0.1f);
    }

    @Test
    public void testTranslateByWithInterpolator() {
        // TODO Find a way to test interpolator.
    }

    @Test
    public void testTranslateByWithDurationAndInterpolator() {
        // TODO Find a way to test interpolator.
    }

    @Test
    public void testTranslateQuicklyBy() throws InterruptedException {
        translateQuicklyBy(view, TRANSLATE_BY_X_VALUE, TRANSLATE_BY_Y_VALUE).subscribe(o);
        assertTestObserverCompletedAfterDuration(AnimationConstants.DURATION_QUICK);
        assertEquals(TRANSLATE_BY_X_VALUE, view.getTranslationX(), 0.1f);
        assertEquals(TRANSLATE_BY_Y_VALUE, view.getTranslationY(), 0.1f);
    }

    @Test
    public void testTranslateQuicklyByWithInterpolator() {
        // TODO Find a way to test interpolator.
    }

    @Test
    public void testTranslateSlowlyBy() throws InterruptedException {
        translateSlowlyBy(view, TRANSLATE_BY_X_VALUE, TRANSLATE_BY_Y_VALUE).subscribe(o);