package com.fishercoder;

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

import static org.junit.Assert.assertEquals;

public class _888Test {
    private static _888.Solution1 solution1;

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

    @Test
    public void test1() {
        int [] A = {1, 1};
        int [] B = {2, 2};
        int [] ans = {1, 2};
        assertEquals(ans, solution1.fairCandySwap(A, B));
    }

    @Test
    public void test2() {
        int [] A = {1, 2};
        int [] B = {2, 3};
        int [] ans = {1, 2};
        assertEquals(ans, solution1.fairCandySwap(A, B));
    }

    @Test
    public void test3() {
        int [] A = {2};
        int [] B = {1, 3};
        int [] ans = {2, 3};
        assertEquals(ans, solution1.fairCandySwap(A, B));
    }

    @Test
    public void test4() {
        int [] A = {1, 2, 5};
        int [] B = {2, 4};
        int [] ans = {5, 4};
        assertEquals(ans, solution1.fairCandySwap(A, B));
    }
}
@@ -153,16 +153,21 @@
 sert
+Array
 Equals;%0A
 %0Apub
@@ -162,16 +162,16 @@
 Equals;%0A
-
 %0Apublic 
@@ -457,32 +457,37 @@
 ;%0A        assert
+Array
 Equals(ans, solu
@@ -646,32 +646,37 @@
 ;%0A        assert
+Array
 Equals(ans, solu
@@ -832,32 +832,37 @@
 ;%0A        assert
+Array
 Equals(ans, solu
@@ -1014,24 +1014,24 @@
 s = %7B5, 4%7D;%0A
-
         asse
@@ -1032,16 +1032,21 @@
   assert
+Array
 Equals(a

fix build for 888