@@ -0,0 +1,953 @@
+package com.fishercoder;%0A%0Aimport com.fishercoder.solutions._4;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class _4Test %7B%0A    private static _4.Solution1 solution1;%0A    private static _4.Solution2 solution2;%0A    private static int%5B%5D A;%0A    private static int%5B%5D B;%0A%0A    @BeforeClass%0A    public static void setup() %7B%0A        solution1 = new _4.Solution1();%0A        solution2 = new _4.Solution2();%0A    %7D%0A%0A    @Test%0A    public void test1() %7B%0A        A = new int%5B%5D%7B1, 3%7D;%0A        B = new int%5B%5D%7B2%7D;%0A        assertEquals(2.0, solution1.findMedianSortedArrays(A, B), 0.0);%0A        assertEquals(2.0, solution2.findMedianSortedArrays(A, B), 0.0);%0A    %7D%0A%0A    @Test%0A    public void test2() %7B%0A        A = new int%5B%5D%7B1, 2%7D;%0A        B = new int%5B%5D%7B3, 4%7D;%0A        assertEquals(2.5, solution1.findMedianSortedArrays(A, B), 0.0);%0A        assertEquals(2.5, solution2.findMedianSortedArrays(A, B), 0.0);%0A    %7D%0A%0A%7D

add test for 4