package com.fishercoder;

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

import static org.junit.Assert.assertEquals;

public class _1346Test {
    private static _1346.Solution1 solution1;
    private static int[] arr;

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

    @Test
    public void test1() {
        arr = new int[]{10, 2, 5, 3};
        assertEquals(true, solution1.checkIfExist(arr));
    }

    @Test
    public void test2() {
        arr = new int[]{7, 1, 14, 11};
        assertEquals(true, solution1.checkIfExist(arr));
    }

    @Test
    public void test3() {
        arr = new int[]{3, 1, 7, 11};
        assertEquals(true, solution1.checkIfExist(arr));
    }

}
@@ -725,35 +725,36 @@
    assertEquals(
-tru
+fals
 e, solution1.che

fix test