package com.fishercoder;

import com.fishercoder.solutions._1685;
import org.junit.BeforeClass;
import org.junit.Test;

import static org.junit.Assert.assertArrayEquals;

public class _1685Test {
    private static _1685.Solution1 solution1;
    private static int[] nums;

    @BeforeClass
    public static void setup() {
        solution1 = new _1685.Solution1();
    }

    @Test
    public void test1() {
        nums = new int[]{2, 3, 5};
        assertArrayEquals(new int[]{4, 3, 5}, solution1.getSumAbsoluteDifferences(nums));
    }

}
@@ -535,9 +535,195 @@
 %0A    %7D%0A%0A
+    @Test%0A    public void test2() %7B%0A        nums = new int%5B%5D%7B1, 4, 6, 8, 10%7D;%0A        assertArrayEquals(new int%5B%5D%7B24, 15, 13, 15, 21%7D, solution1.getSumAbsoluteDifferences(nums));%0A    %7D%0A%0A
 %7D

add a test for 1685