@@ -0,0 +1,2182 @@
+package sqlancer;%0A%0Aimport static org.junit.jupiter.api.Assertions.assertThrowsExactly;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0Aimport org.junit.jupiter.api.Test;%0A%0Apublic class TestComparatorHelper %7B%0A    // TODO: Implement tests for the other ComparatorHelper methods%0A%0A    @Test%0A    public void testAssumeResultSetsAreEqualWithEqualSets() %7B%0A        List%3CString%3E r1 = Arrays.asList(%22a%22, %22b%22, %22c%22);%0A        List%3CString%3E r2 = Arrays.asList(%22a%22, %22b%22, %22c%22);%0A        ComparatorHelper.assumeResultSetsAreEqual(r1, r2, %22%22, Arrays.asList(%22%22), null);%0A%0A    %7D%0A%0A    @Test%0A    public void testAssumeResultSetsAreEqualWithUnequalLengthSets() %7B%0A        List%3CString%3E r1 = Arrays.asList(%22a%22, %22b%22, %22c%22);%0A        List%3CString%3E r2 = Arrays.asList(%22a%22, %22b%22, %22c%22, %22d%22, %22g%22);%0A        // NullPointerException is raised instead of AssertionError because state is null and the state.getState()...%0A        // line occurs before AssertionError is thrown, but it's good enough as an indicator that one of the Exceptions%0A        // is raised%0A        assertThrowsExactly(NullPointerException.class, () -%3E %7B%0A            ComparatorHelper.assumeResultSetsAreEqual(r1, r2, %22%22, Arrays.asList(%22%22), null);%0A        %7D);%0A    %7D%0A%0A    @Test%0A    public void testAssumeResultSetsAreEqualWithUnequalValueSets() %7B%0A        List%3CString%3E r1 = Arrays.asList(%22a%22, %22b%22, %22c%22);%0A        List%3CString%3E r2 = Arrays.asList(%22a%22, %22b%22, %22d%22);%0A        // NullPointerException is raised instead of AssertionError because state is null and the state.getState()...%0A        // line occurs before AssertionError is thrown, but it's good enough as an indicator that one of the Exceptions%0A        // is raised%0A        assertThrowsExactly(NullPointerException.class, () -%3E %7B%0A            ComparatorHelper.assumeResultSetsAreEqual(r1, r2, %22%22, Arrays.asList(%22%22), null);%0A        %7D);%0A    %7D%0A%0A    @Test%0A    public void testAssumeResultSetsAreEqualWithCanonicalizationRule() %7B%0A        List%3CString%3E r1 = Arrays.asList(%22a%22, %22b%22, %22c%22);%0A        List%3CString%3E r2 = Arrays.asList(%22a%22, %22b%22, %22d%22);%0A        ComparatorHelper.assumeResultSetsAreEqual(r1, r2, %22%22, Arrays.asList(%22%22), null, (String s) -%3E %7B%0A            return s.equals(%22d%22) ? %22c%22 : s;%0A        %7D);%0A    %7D%0A%0A%7D%0A

Add tests for assumeResultSetsAreEqual