package com.fishercoder;

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

import static org.junit.Assert.assertEquals;

public class _462Test {
    private static _462.Solution1 solution1;

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

    @Test
    public void test1() {
        assertEquals(2, solution1.minMoves2(new int[]{1, 2, 3}));
    }

}
@@ -436,9 +436,112 @@
 %0A    %7D%0A%0A
+    @Test%0A    public void test2() %7B%0A        assertEquals(0, solution1.minMoves2(new int%5B%5D%7B1%7D));%0A    %7D%0A%0A
 %7D

add a test for 462